Skip to content

Log to a file #2190

Answered by rhansen
bmccorm2 asked this question in Q&A
Mar 10, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Which logs are you referring to?

  • nginx access logs already go to a file (/var/log/nginx/access.log)
  • nginx error logs and docker-gen logs go to stderr (not currently configurable), which should be captured in docker logs.
  • nginx-proxy startup messages go to a mix of stderr and stdout depending on severity (not currently configurable), which should be captured in docker logs.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@bmccorm2
Comment options

@SchoNie
Comment options

@bmccorm2
Comment options

Answer selected by bmccorm2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants