about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-02-10 16:14:38 -0800
committerEric Wong <normalperson@yhbt.net>2009-02-10 17:38:34 -0800
commit5f784047b15ef6d070af8fd2d41404dd08e85aa8 (patch)
tree257dfedfc346923411c2f12650480cf5a18ce105 /lib
parent936c3e5176948456835415a482b0c19025016f11 (diff)
downloadunicorn-5f784047b15ef6d070af8fd2d41404dd08e85aa8.tar.gz
This is to make things consistent with the other logging
when adding listeners
Diffstat (limited to 'lib')
-rw-r--r--lib/unicorn.rb3
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)"