[PATCH] make stderr_path/stdout_path support IO objects directly

Eric Wong normalperson at yhbt.net
Thu Mar 22 08:00:37 UTC 2012

Benedikt Böhm <bb at xnull.de> wrote:

Hello, can you explain in the commit message why this functionality is
useful to have?

SIGUSR1 log file reopening only works because it relies on knowing
File#path on File objects

> ---
>  lib/unicorn/configurator.rb |    2 +-
>  lib/unicorn/http_server.rb  |    6 +++++-
>  2 files changed, 6 insertions(+), 2 deletions(-)

Test cases for new functionality would be nice, too.

More information about the mongrel-unicorn mailing list