Skip to content
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

logging and monit start issue with puma-daemon #26

Open
chandrapratapsingh007 opened this issue Feb 21, 2024 · 2 comments
Open

logging and monit start issue with puma-daemon #26

chandrapratapsingh007 opened this issue Feb 21, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@chandrapratapsingh007
Copy link

          This issue is still not fixed. I am passing the log file path as follows in the puma.rb file:

stdout_redirect "/tmp/puma.stdout.log", "/tmp/puma.stderr.log", true

But in the puma.stdout.log only puma start logs are getting logged and no entries after that:

=== puma startup: 2024-02-21 14:23:59 +0000 ===
I, [2024-02-21T14:23:59.020812 #28027]  INFO -- : Installing Puma worker loop.
[27929] - Worker 0 (PID: 28027) booted in 0.02s, phase: 0
I, [2024-02-21T14:23:59.043596 #28035]  INFO -- : Installing Puma worker loop.
[27929] - Worker 1 (PID: 28035) booted in 0.01s, phase: 0

Also, monit is failing to start the service as described here: #24
and giving "error : 'puma' failed to start (exit status 0)_"

Originally posted by @chandrapratapsingh007 in #11 (comment)

@kigster kigster added the bug Something isn't working label Mar 9, 2024
@kigster kigster self-assigned this Mar 9, 2024
@kigster
Copy link
Owner

kigster commented Mar 9, 2024

Thanks for the report. I'm guessing workers must reopen these files to continue logging after forking.

@chandrapratapsingh007
Copy link
Author

yes @kigster but that is not happening. Nothing is getting logged in the logfiles after the workers starts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants