openops icon indicating copy to clipboard operation
openops copied to clipboard

[Issue]: Sending Nginx logs to console will prevent bloating image with logs and take us one step closer to readonlyfilesystem

Open vicrem opened this issue 1 year ago • 3 comments

Hopefully the title speaks for itself. Adding below to Dockerfile will send Nginx logs to console.

...
RUN ln -sf /dev/stdout /var/log/nginx/access.log \
  && ln -sf /dev/stderr /var/log/nginx/error.log
...

EDIT! Image for App service.

vicrem avatar Apr 03 '25 20:04 vicrem

This issue has been automatically marked as stale because it has not had activity in the last 60 days. It will be closed in 5 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!

github-actions[bot] avatar Sep 15 '25 16:09 github-actions[bot]

This issue has been automatically closed because it has not had any further activity in the last 5 days. Thank you for your contributions!

github-actions[bot] avatar Sep 22 '25 16:09 github-actions[bot]