projects
/
eg5120
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18cc489
)
debug 1 in node-red with logging to system console
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 8 Jul 2023 10:59:09 +0000
(12:59 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 8 Jul 2023 10:59:09 +0000
(12:59 +0200)
parse-node-logs.pl
patch
|
blob
|
history
diff --git
a/parse-node-logs.pl
b/parse-node-logs.pl
index
ae33018
..
d661166
100755
(executable)
--- 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";