Where are the log files located in the Graylog server Docker container?
I’m using the graylog server image from docker hub but I can’t find the log files. In the graylog vm they’re located under
/var/log/graylog but the location doesn’t exist in the graylog server docker image. Where are the log files located in the docker container?
2 Solutions collect form web for “Where are the log files located in the Graylog server Docker container?”
graylog2/server Docker image sends logs to stdout and doesn’t write them into a log file.
You can use a Docker Logging Driver to configure where these logs should be written to.
Looks like log4j is configured only to stdout. Inspecting the Dockerfile I would suggest checking this directory: