about summary refs log tree commit homepage
path: root/lib/unicorn/launcher.rb
diff options
context:
space:
mode:
authorIƱaki Baz Castillo <ibc@aliax.net>2009-12-28 15:46:26 -0800
committerEric Wong <normalperson@yhbt.net>2009-12-28 15:55:25 -0800
commit4239f0618c8107545fd5babd256c89ffd82553bd (patch)
tree458b101162db45d7319a8c393786e3dcbadec4b4 /lib/unicorn/launcher.rb
parent52eee4e424198a3c80793ee9c930fd3bb0285168 (diff)
downloadunicorn-4239f0618c8107545fd5babd256c89ffd82553bd.tar.gz
When using multiple listeners, the log messages can be
potentially misleading as to which listener fails to bind:

Before:

  INFO -- : unlinking existing socket=/tmp/unicorn.sock
  INFO -- : listening on addr=/tmp/unicorn.sock fd=3
  unicorn/socket_helper.rb:110:in `initialize': Permission denied - bind(2) (Errno::EACCES)

After:

  INFO -- : unlinking existing socket=/tmp/openxdms.sock
  INFO -- : listening on addr=/tmp/openxdms.sock fd=3
  FATAL -- : error adding listener addr=0.0.0.0:84
  unicorn/socket_helper.rb:110:in `initialize': Permission denied - bind(2) (Errno::EACCES)
Diffstat (limited to 'lib/unicorn/launcher.rb')
0 files changed, 0 insertions, 0 deletions