diff options
-rw-r--r-- | contrib/log.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/log.php b/contrib/log.php index 0eee5bcaa..8b7f2cc59 100644 --- a/contrib/log.php +++ b/contrib/log.php | |||
@@ -25,7 +25,7 @@ function render_row ($d, $component, $pid, $level, $msg, $c) | |||
25 | echo $d ? $d->format('u') : ""; | 25 | echo $d ? $d->format('u') : ""; |
26 | echo '</small></td>'; | 26 | echo '</small></td>'; |
27 | echo "<td class=\"comp\">$comp</td><td class=\"peer\">$peer</td>"; | 27 | echo "<td class=\"comp\">$comp</td><td class=\"peer\">$peer</td>"; |
28 | echo "<td class=\"level\">$level</td><td>$msg </td>"; | 28 | echo "<td class=\"level\">$level</td><td><pre>$msg</pre></td>"; |
29 | if ($level != "DEBUG") | 29 | if ($level != "DEBUG") |
30 | { | 30 | { |
31 | echo '<td><div class="btn-group"><button class="btn btn-xs btn-default btn-showup"><span class="glyphicon glyphicon-chevron-up"></span></button>'; | 31 | echo '<td><div class="btn-group"><button class="btn btn-xs btn-default btn-showup"><span class="glyphicon glyphicon-chevron-up"></span></button>'; |
@@ -125,12 +125,16 @@ if ($start !== null || $stop !== null) { | |||
125 | font-family: arial,sans-serif; | 125 | font-family: arial,sans-serif; |
126 | } | 126 | } |
127 | table { | 127 | table { |
128 | font-family: courier,sans-serif; | ||
129 | color:#000; | 128 | color:#000; |
130 | margin-top: 40px; | 129 | margin-top: 40px; |
131 | font-size:12px; | 130 | font-size:12px; |
132 | border-collapse:collapse; | 131 | border-collapse:collapse; |
133 | } | 132 | } |
133 | pre { | ||
134 | padding: 0px; | ||
135 | margin: 0px; | ||
136 | border: 0px; | ||
137 | } | ||
134 | .alert { | 138 | .alert { |
135 | display: none; | 139 | display: none; |
136 | position: fixed; | 140 | position: fixed; |