debug 1 in node-red with logging to system console
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 8 Jul 2023 10:59:09 +0000 (12:59 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 8 Jul 2023 10:59:09 +0000 (12:59 +0200)
parse-node-logs.pl

index ae33018..d661166 100755 (executable)
@@ -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";