etsy / logster

Parse log files, generate metrics for Graphite and Ganglia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The default error log format has changed; the parser isn't getting it

sferencik opened this issue · comments

The default format of the error log has changed from something like
[Thu May 12 08:28:57.652118 2011] [error] ...
to
[Thu May 12 08:28:57.652118 2011] [core:error] ...

Note the new module info. The ErrorLogLogster parser should be extended to understand this (i.e. probably ignore the module and successfully extract the severity).

Thanks for identifying this issue.

Would you feel comfortable submitting a pull request against ErrorLogLogster.py with the fix? It should be possible to alter the regular expression to support both old and new formats