Fix typo in run_services(). Print random stuff on STDERR as warnings.

This commit is contained in:
Daniel Nichter
2013-06-10 20:11:03 -07:00
parent 8641d55a4e
commit 4db9aac13b
2 changed files with 2 additions and 4 deletions

View File

@@ -134,7 +134,7 @@ sub start_online_logging {
# $line = ts,level,n_lines,message
my ($ts, $level, $n_lines, $msg) = $line =~ m/^([^,]+),([^,]+),([^,]+),(.+)/s;
if ( !$ts || !$level || !$n_lines || !$msg ) {
warn "Invalid log entry: $line\n";
warn "$line\n";
next LINE;
}
if ( $n_lines > 1 ) {