contrib/nglog.sh: Use bright colors for warning & error messages
[ngircd-alex.git] / contrib / nglog.sh
index 001570a5bc6d9ed31320a0ba13d050e8cf634397..c96f993a805a83c12a4ba6a41efb75dc0bb29d8b 100755 (executable)
 #
 
 awk '
-  /^\[[[:digit:]]+:0 / {print "\033[95m" $0 "\033[0m"}
-  /^\[[[:digit:]]+:1 / {print "\033[35m" $0 "\033[0m"}
-  /^\[[[:digit:]]+:2 / {print "\033[91m" $0 "\033[0m"}
-  /^\[[[:digit:]]+:3 / {print "\033[31m" $0 "\033[0m"}
-  /^\[[[:digit:]]+:4 / {print "\033[33m" $0 "\033[0m"}
+  /^\[[[:digit:]]+:0 / {print "\033[1;95m" $0 "\033[0m"}
+  /^\[[[:digit:]]+:1 / {print "\033[1;35m" $0 "\033[0m"}
+  /^\[[[:digit:]]+:2 / {print "\033[1;91m" $0 "\033[0m"}
+  /^\[[[:digit:]]+:3 / {print "\033[1;31m" $0 "\033[0m"}
+  /^\[[[:digit:]]+:4 / {print "\033[1;33m" $0 "\033[0m"}
   /^\[[[:digit:]]+:5 / {print "\033[1m" $0 "\033[0m"}
   /^\[[[:digit:]]+:6 / {print $0}
   /^\[[[:digit:]]+:7 / {print "\033[90m" $0 "\033[0m"}