diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-02-10 16:14:38 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-02-10 17:38:34 -0800 |
commit | 5f784047b15ef6d070af8fd2d41404dd08e85aa8 (patch) | |
tree | 257dfedfc346923411c2f12650480cf5a18ce105 | |
parent | 936c3e5176948456835415a482b0c19025016f11 (diff) | |
download | unicorn-5f784047b15ef6d070af8fd2d41404dd08e85aa8.tar.gz |
This is to make things consistent with the other logging when adding listeners
-rw-r--r-- | lib/unicorn.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/unicorn.rb b/lib/unicorn.rb index 210d278..63d7f5c 100644 --- a/lib/unicorn.rb +++ b/lib/unicorn.rb @@ -140,7 +140,8 @@ module Unicorn if io = bind_listen(address, @listen_backlog) @purgatory << io io = server_cast(io) - logger.info "adding listener #{io} addr=#{sock_name(io)}" + logger.info "#{io} listening on pid=#{$$} " \ + "fd=#{io.fileno} addr=#{sock_name(io)}" @listeners << io else logger.error "adding listener failed addr=#{address} (in use)" |