Re: Raised exceptions are not logged when USR2

2010-01-02 Thread Iñaki Baz Castillo
El Sábado, 2 de Enero de 2010, Iñaki Baz Castillo escribió: Hi, I use the ready_pipe branch. I set logger to log into Syslog, but the issue I'll explain here is the same even if I log to a file. I runned Unicorn daemonized. Now imagine I do a typo in my Rack config.ru (I use preload=true).

Re: Raised exceptions are not logged when USR2

2010-01-02 Thread Iñaki Baz Castillo
El Sábado, 2 de Enero de 2010, Iñaki Baz Castillo escribió: A simpler approach would be removing this line at the end of launcher.rb: Unicorn::Configurator::DEFAULTS[:stderr_path] = /dev/null With this, errors would be displayed in stderr. Of course for workers stderr should be reopened

unicorn/reexec/bundler/cap deploy issue

2010-01-02 Thread skaar
Hi Eric, we've run into an issue with Unicorn's reexec, when the rails app is using Bundler and we deploy into dated release directories. Still not sure what the correct fix is for this, but what happens is that bundler modifies (acutally prefixes) PATH/RUBYOPT and when you reexec unicorn these