aboutsummaryrefslogtreecommitdiff
path: root/clogrc.dot.link
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-08-12 11:09:30 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-08-12 11:09:30 -0300
commit3b2b450ba34d4a157087b3e6b686ac15dc94aa32 (patch)
treea6329bc492010cb08bb73ebbd18f4084960d3169 /clogrc.dot.link
parent802df344ffe3f4173dce5e2e36984d57b81e136e (diff)
downloadprofile-3b2b450ba34d4a157087b3e6b686ac15dc94aa32.tar.gz
profile-3b2b450ba34d4a157087b3e6b686ac15dc94aa32.tar.bz2
Adds clogrc
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