heroku/WAL-E — pull request #55 by bshi (2012-12-20 00:22:27+00:00)
Title: Allow users to configure logging.

This also merges into master with a bit of cleanup (I can provide that patch if you prefer) - I'm not sure which branch 0.5/master is under active development. I'd like your feedback on whether this is appropriate for inclusion before I update the README or any other support files.

Syslog APIs have an "ident" argument which is a string prefixed to the
log line usually indicating the program name. This is missing from
WAL-E's default log configuration so things get a little weird when
using some tools like papertrail.

I'm not sure what the what the policy is here wrt to python version;
I've tested against 2.7. Let me know if you'd like me to test against
an earlier version.

Here's a sample error message, I've tried to remain as faithful to the
old default format as possible but there are some minor changes, notably
that DETAILS: None/HINT: None always show up even if the arguments
aren't provided. I figure the tradeoff which is to allow end-users more
flexbility in their formatting is worth the change.

2012-12-20T00:00:26.972+00 pid=94726 wal_e.main ERROR MSG: foobar
DETAIL: None
HINT: Define the environment variable foobar