-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclogrc
More file actions
19 lines (16 loc) · 703 Bytes
/
clogrc
File metadata and controls
19 lines (16 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Clog is a colorized log tail utility.
# It can spot patterns in an input stream and colorize or suppress the lines.
# It can also decorate the lines with time- or date-stamps.
# my_command | clog | tail -fR
# http://tasktools.org/projects/clog.html
# Standard syslog entries.
default rule /warn|debug/ --> yellow line
default rule /error|severe/ --> red line
default rule /critical/ --> bold red line
default rule /critical/ --> blank
default rule /ignore/ --> suppress
# Apache access.log status codes
apache rule / 2[0-9][0-9] / --> green match
apache rule / 3[0-9][0-9] / --> yellow match
apache rule / 4[0-9][0-9] / --> red match
apache rule / 5[0-9][0-9] / --> bold red match