diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-07-26 15:04:54 -0500 |
---|---|---|
committer | Mitch Jackson <mitch@freeside.biz> | 2018-10-09 12:46:01 -0400 |
commit | ebd5b466b4717f201bc7f8d57ef0f7441e590d91 (patch) | |
tree | 6246bfa2d21d377743764503d6b738fa0a528600 /httemplate/search/log.html | |
parent | 345dfc58a6230d9bc5e88c063a3fc14f3647e68d (diff) |
Revert "RT#38217: Send email when logging conditions are met"
This reverts commit 5f563d5ac7e6e1e93cca382baa42ee106f3db5a0.
Diffstat (limited to 'httemplate/search/log.html')
-rw-r--r-- | httemplate/search/log.html | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/httemplate/search/log.html b/httemplate/search/log.html index fdec15b..9a61a71 100644 --- a/httemplate/search/log.html +++ b/httemplate/search/log.html @@ -81,15 +81,15 @@ a:visited {text-decoration: none} <TD>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 => scalar($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 => scalar($cgi->param('max_level')), &> </TD> @@ -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 ]; }; |