Commits

Oben Sonne  committed 7f87084

Colog glob post: date fix

  • Participants
  • Parent commits 3624e28

Comments (0)

Files changed (2)

File input/blog/20120507-colorized-log-output.md

-title: blog
-post: Do your eyes a favor with colored log output
-date: 2012-05-07
-keywords: terminal, color, log output, log files
-description: A simple solution to make log files more readable.
----
-
-{{ pheader() }}
-
-*{{ page.description }}*
-
-## `cat messy.log`
-
-<!--% image("colog-before.png", size=600, link="self") %-->
-
-## `cat messy.log | colog`
-
-<!--% image("colog-after.png", size=600, link="self") %-->
-
-## `colog` ..
-
-.. is a simple Python script, ready for your customization:
-
-<script src="https://gist.github.com/2629510.js?file=colog.py"></script>
-
-Adjust it to your needs and save it as `colog` (or any other name you like)
-somewhere in your path. Probably you want to tune the pattern matching and
-color codes.
-
-## Examples
-
-### Watch log output from running programs
-
-    $ a-very-verbose-program 2>&1 | python colog.py
-
-### Watch a log file with `tail`
-
-    $ tail -f /path/to/some/logfile | python colog.py
-
-### Read a log file colored in `less`
-
-    $ cat /path/to/some/logfile | python colog.py | less -FRS
-
-## Need more?
-
-If this simple solution does not solve your log file reading problems, have a
-try with a more powerful tool like [MultiTail][].
-
-
-<!--{ pfooter }-->
-
-[multitail]: http://www.vanheusden.com/multitail/

File input/blog/20120510-colorized-log-output.md

+title: blog
+post: Do your eyes a favor with colored log output
+date: 2012-05-10
+keywords: terminal, color, log output, log files
+description: A simple solution to make log files more readable.
+---
+
+{{ pheader() }}
+
+*{{ page.description }}*
+
+## `cat messy.log`
+
+<!--% image("colog-before.png", size=600, link="self") %-->
+
+## `cat messy.log | colog`
+
+<!--% image("colog-after.png", size=600, link="self") %-->
+
+## `colog` ..
+
+.. is a simple Python script, ready for your customization:
+
+<script src="https://gist.github.com/2629510.js?file=colog.py"></script>
+
+Adjust it to your needs and save it as `colog` (or any other name you like)
+somewhere in your path. Probably you want to tune the pattern matching and
+color codes.
+
+## Examples
+
+### Watch log output from running programs
+
+    $ a-very-verbose-program 2>&1 | python colog.py
+
+### Watch a log file with `tail`
+
+    $ tail -f /path/to/some/logfile | python colog.py
+
+### Read a log file colored in `less`
+
+    $ cat /path/to/some/logfile | python colog.py | less -FRS
+
+## Need more?
+
+If this simple solution does not solve your log file reading problems, have a
+try with a more powerful tool like [MultiTail][].
+
+
+<!--{ pfooter }-->
+
+[multitail]: http://www.vanheusden.com/multitail/