Commits

Oben Sonne  committed 3624e28

Colog blog post - RC1

  • Participants
  • Parent commits 4d5df9c

Comments (0)

Files changed (2)

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

 post: Do your eyes a favor with colored log output
 date: 2012-05-07
 keywords: terminal, color, log output, log files
-description: A super simple solution to make log files more readable.
+description: A simple solution to make log files more readable.
 ---
 
 {{ pheader() }}
 
 *{{ page.description }}*
 
-## `cat messy.log` ... TL;DR
+## `cat messy.log`
 
 <!--% image("colog-before.png", size=600, link="self") %-->
 
-## `cat messy.log | python colog.py` ... pleasure for your eyes
+## `cat messy.log | colog`
 
 <!--% image("colog-after.png", size=600, link="self") %-->
 
-A super simple Python script, ready for your customization. Usage examples
-follow.
+## `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
 ## Need more?
 
 If this simple solution does not solve your log file reading problems, have a
-try with a more powerful solution like [MultiTail][].
+try with a more powerful tool like [MultiTail][].
 
 
 <!--{ pfooter }-->
 
-[dvcs]: http://en.wikipedia.org/w/index.php?title=Distributed_Version_Control_System
-[mercurial]: http://mercurial.selenic.com
-[qso]: http://stackoverflow.com/q/4329230/151299
 [multitail]: http://www.vanheusden.com/multitail/

File input/images.raw/colog-after.png

Old
Old image
New
New image