aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/logread.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/logread.pl b/contrib/logread.pl
index 14332352e..773a5ff93 100755
--- a/contrib/logread.pl
+++ b/contrib/logread.pl
@@ -102,6 +102,9 @@ while (<>)
102 $1 . BRIGHT_CYAN (exists $msgtypes{$2} ? $msgtypes{$2} : 'UNKNOWN') . 102 $1 . BRIGHT_CYAN (exists $msgtypes{$2} ? $msgtypes{$2} : 'UNKNOWN') .
103 CYAN " ($2)"/gei; 103 CYAN " ($2)"/gei;
104 104
105 # logread-ipc output
106 s/(\s+)([A-Z_]+)( \(\d+\))$/$1 . BRIGHT_CYAN $2 . CYAN $3/e;
107
105 print; 108 print;
106} 109}
107 110