-
Notifications
You must be signed in to change notification settings - Fork 408
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
Logs are not forwarded to STDOUT until nginx-log-forwarder is restarted (phusion/passenger-ruby25:0.9.34) #224
Comments
Do you still need this workaround after updating to v1.0.6 ? It fixes some issue with log rotation that may be the cause of this |
@ztrange ran in to this issue on 1.0.9. Adding the |
Confirming that adding |
I pre-delete |
UPDATE: Adding
RUN rm -f /var/log/nginx/error.log
to my Docker file helped with this issue. I'm not sure why, maybe it's some weird bug with nginx-log-forwarder service and error.log file.....
Hi. I'm using
phusion/passenger-ruby25:0.9.34
with Rails. Rails are using STDOUT as log destination, but the log doesn't appear in thedocker logs
, even though it is present in/var/log/nginx/error.log
If I run
docker exec backend sv restart nginx-log-forwarder
it appears.Do you have any idea how to fix this problem?
Nginx + passenger + rails 5.1.4
ubuntu EC2 (couldn't reproduce on my mac)
nothing :)
New Logs appear in the STDOUT
Only initial log:
The text was updated successfully, but these errors were encountered: