[openstack-dev] A Tool for Making OpenStack Log Reading a Bit Easier

Clint Byrum clint at fewbar.com
Wed Nov 6 01:10:16 UTC 2013

I often use ccze to look at logs. It has some built in things like
coloring the words "warn" or "warning" yellow and "error" red. It would
be great to have this filter added as another ccze plugin.

Excerpts from Solly Ross's message of 2013-11-06 05:58:02 +0800:
> Hello All,
> The other day, I was reading through a debug-level OpenStack log, and came to the realization that reading OpenStack debug-level logs was difficult, to say the least -- they can be very busy, and it is hard to quickly filter out relevant information.  Thus, I wrote a little Perl script to make reading dense debug-level logs a bit easier: https://github.com/DirectXMan12/os_log_prettifier.  I figured that I'd share it with other people.  Basically, the script highlights certain key details using color and bolding (via ANSI control codes), and can filter lines based on subject (in the form of 'x.y.z') or message type, using regular expressions.  I hope people find it useful!
> Best Regards,
> Solly Ross

More information about the OpenStack-dev mailing list