From 216c9ea80db0b2a367ce664d5994ab88e3e23fc1 Mon Sep 17 00:00:00 2001 From: "Scott R. Godin" Date: Tue, 28 Aug 2018 12:50:32 -0400 Subject: [PATCH] New sheet: ccze for colorizing logs added first cheat for ccze using named pipes to colorize multiple files at once while tailing them in the shell --- sheets/ccze | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sheets/ccze diff --git a/sheets/ccze b/sheets/ccze new file mode 100644 index 0000000..b3d1e96 --- /dev/null +++ b/sheets/ccze @@ -0,0 +1,4 @@ +# ccze usage with named pipe for coloring tail of multiple logfiles at once: +mkfifo pipe +tail -s .5 -n 120 -f httpd_access_log httpd_error_log httpd_modsec_audit_log >pipe & +ccze < pipe