http://www.perlmonks.org?node_id=188110


in reply to Defensive Programming and Audit Trails

Just to expand upon the concept of making the log file easy to parse, it should be emphasized that certain date formats (e.g. ISO 8601 format) are easily parseable by some common Date and Time modules. In particular, I'm thinking of HTTP::Date, though there are plenty of others, depending on what sort of format you prefer.

So, when you pick a log file format, give the timestamps you use some thought, and be sure they're consistent.

-- Frag.
"Never could stand that dog."

  • Comment on Re: Defensive Programming and Audit Trails