The default log format (including colorizing escape sequences for
white on black screens) is wrong on so many levels that I won''t
even try to address it here. Fortunately, there''s an easy way to
turn off the escape sequences, as noted in the wiki:
http://wiki.rubyonrails.com/rails/show/HowtoConfigureLogging
Even with that out of the way, however, the log messages aren''t
trivial to parse. Bearing in mind DMR''s comment about assuming
that the output of any program will be the input of another, I
would like to suggest that a version of logger be created that
produces YAML output. FWIW, Apple is moving in this direction
(though they don''t use YAML) for their system error logs. Does
anyone else like the idea of trivially-parsable error logs?
-r
P.S. A quick Google search didn''t find any hits on this idea;
let me know if an implementation already exists. (:-)
--
email: rdm-go8te9J4rpw@public.gmane.org; phone: +1 650-873-7841
http://www.cfcl.com - Canta Forda Computer Laboratory
http://www.cfcl.com/Meta - The FreeBSD Browser, Meta Project, etc.