jubos/fake-s3 — pull request #16 by janaz (2012-08-19 06:17:22+00:00)
Title: Exception handling in FileStore

Hi Curtis,

Since the Webrick has it's own logger I thought it would be good to use it
to log exceptions in FileStore. At the moment the stacktrace is sent directly to
the standard output.

I work on a project that's using FakeS3 in its test and dev environments. We have
a lot of noise caused by the FileStore exception stacktraces in our rspec / cucmber tests.
Redirecting the stacktraces to server's log seems like a cleaner soultion.

I've made a change so that if the logger is specified, the backtrace will be send
to the logger as a warning. If the logger is not set, the backtrace will be send
to the standard error.

Cheers,
Tomasz