aboutsummaryrefslogtreecommitdiff
path: root/clogrc.dot.link
diff options
context:
space:
mode:
Diffstat (limited to 'clogrc.dot.link')
-rw-r--r--clogrc.dot.link15
1 files changed, 15 insertions, 0 deletions
diff --git a/clogrc.dot.link b/clogrc.dot.link
new file mode 100644
index 0000000..f68cd00
--- /dev/null
+++ b/clogrc.dot.link
@@ -0,0 +1,15 @@
+# Clog Rules
+# See https://taskwarrior.org/docs/clog/
+
+# 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