-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Puma crashes with no output when stdout_redirect is set #359
Comments
The same problem again.
No process, no answer, and no log files appears. UPD: our config:
|
I have something similar too |
@zekus what error do you see when not demonized? |
@evanphx it was a syntax error in the application code but the point is: shouldn't puma fail to start but write the reason in the log? |
Ok, here is the issue: Some people want puma to load the code BEFORE daemonizing, so that the user can see if there is an error. Other people need it to load AFTER demonizing because they start threads in their initializers and thus need them to survive. So there is this tension between these 2 needs. I'll see about at least making it so that if there is an error like this, it shows up in the stderr output. |
Using rails 4, rubinius at master (372b2d2) and puma 2.5.0.
Current config:
When i uncomment the stdout_redirect it will write to out.puma.log:
But it crashes after what seems like the full bootup, with nothing going into err.puma.log.
Edit: looks like working now.
The text was updated successfully, but these errors were encountered: