logs: suppress perl errors in summary output
This commit is contained in:
parent
5fd67e30b3
commit
c6c3d90a4a
@ -182,6 +182,7 @@ sub parse_line {
|
|||||||
return ( 'info', $pid, undef, undef, $message ) if substr($message, 0, 24) eq 'Permissions on spool_dir';
|
return ( 'info', $pid, undef, undef, $message ) if substr($message, 0, 24) eq 'Permissions on spool_dir';
|
||||||
return ( 'info', $pid, undef, undef, $message ) if substr($message, 0, 13) eq 'Listening on ';
|
return ( 'info', $pid, undef, undef, $message ) if substr($message, 0, 13) eq 'Listening on ';
|
||||||
|
|
||||||
|
return ( 'err', $pid, undef, undef, $message ) if $line =~ /at [\S]+ line \d/; # generic perl error
|
||||||
print "UNKNOWN LINE: $line\n";
|
print "UNKNOWN LINE: $line\n";
|
||||||
return ( 'unknown', $pid, undef, undef, $message );
|
return ( 'unknown', $pid, undef, undef, $message );
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user