From: Dobrica Pavlinusic Date: Sat, 8 Jul 2023 10:59:09 +0000 (+0200) Subject: debug 1 in node-red with logging to system console X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=d1c923d7dd7842303e879e4765b69a7f165ead93;p=eg5120 debug 1 in node-red with logging to system console --- diff --git a/parse-node-logs.pl b/parse-node-logs.pl index ae33018..d661166 100755 --- a/parse-node-logs.pl +++ b/parse-node-logs.pl @@ -31,6 +31,7 @@ foreach my $filename ( while(<$log>) { chomp; #warn "## $in_json -->$_<--\n"; + ## XXX debug 1 in node-red with logging to system console if ( m/(\d+ \w+)\s+(\d\d:\d\d:\d\d) - \Q[info] [debug:debug 1]\E/ ) { $time = $1 . ' ' . $year . ' ' . $2; #warn "# time $time\n";