Merge pull request #214 from msimerson/summarize

log/summarize: ignore init msg from logging/*
This commit is contained in:
Jared Johnson 2015-01-29 05:37:55 -06:00
commit a17b44de25

View File

@ -204,6 +204,8 @@ sub parse_line {
if substr($message, 0, 24) eq 'Permissions on spool_dir'; if substr($message, 0, 24) eq 'Permissions on spool_dir';
return 'info', $pid, undef, undef, $message return 'info', $pid, undef, undef, $message
if substr($message, 0, 13) eq 'Listening on '; if substr($message, 0, 13) eq 'Listening on ';
return 'info', $pid, undef, undef, $message
if substr($message, 0, 15) eq 'Loaded logging/';
return 'err', $pid, undef, undef, $message return 'err', $pid, undef, undef, $message
if $line =~ /at [\S]+ line \d/; # generic perl error if $line =~ /at [\S]+ line \d/; # generic perl error