error logging is more consistent
commit5f478f5a9a58f72c0a844258b8ee614bf24ea9f7
authorEric Wong <normalperson@yhbt.net>
Fri, 17 Jun 2011 08:54:37 +0000 (17 08:54 +0000)
committerEric Wong <normalperson@yhbt.net>
Fri, 17 Jun 2011 08:54:37 +0000 (17 08:54 +0000)
tree4f54eeda882fa23e957e10a9484d07bca7cd9582
parentfa7ce0a6a755cb71a30417478fb797ee7b8d94b5
error logging is more consistent

Backtraces are now formatted properly (with timestamps) and
exceptions will be logged more consistently and similar to
Logger defaults:

  "#{exc.message} (#{e.class})"
  backtrace.each { |line| ... }

This may break some existing monitoring scripts, but errors
will be more standardized and easier to check moving forward.
lib/unicorn.rb
lib/unicorn/http_server.rb
lib/unicorn/socket_helper.rb
t/t0001-reload-bad-config.sh