X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Flog.html;fp=httemplate%2Fsearch%2Flog.html;h=111200f55c456f8df8d429a31d7082452699d07c;hp=cefa399a283c6c82e829905c09ea21cfdccb5a7c;hb=a1930173f49200333e347b87c01c3edabc1ebb9c;hpb=b307e9044cc1fded25280ea5d9e105daaba89d43
diff --git a/httemplate/search/log.html b/httemplate/search/log.html
index cefa399a2..111200f55 100644
--- a/httemplate/search/log.html
+++ b/httemplate/search/log.html
@@ -81,15 +81,15 @@ a:visited {text-decoration: none}
Level
<& /elements/select.html,
field => 'min_level',
- options => [ 0..4 ],
- labels => { map {$_ => $FS::Log::LEVELS[$_]} 0..4 },
+ options => [ 0..7 ],
+ labels => { map {$_ => $FS::Log::LEVELS[$_]} 0..7 },
curr_value => $cgi->param('min_level'),
&>
to
<& /elements/select.html,
field => 'max_level',
- options => [ 0..4 ],
- labels => { map {$_ => $FS::Log::LEVELS[$_]} 0..4 },
+ options => [ 0..7 ],
+ labels => { map {$_ => $FS::Log::LEVELS[$_]} 0..7 },
curr_value => $cgi->param('max_level'),
&>
|
@@ -192,11 +192,14 @@ my $object_link_sub = sub {
};
my @colors = (
- '404040', #debug, gray
- '000000', #info, black
- '0000aa', #warning, blue
- 'aa0066', #error, purple
- 'ff0000', #critical, red
+ '404040', #debug
+ '0000aa', #info
+ '00aa00', #notice
+ 'aa0066', #warning
+ '000000', #error
+ 'aa0000', #critical
+ 'ff0000', #alert
+ 'ff0000', #emergency
);
my $color_sub = sub { $colors[ $_[0]->level ]; };