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?

  • can't write ñ, ä, ë, ü in a ubuntu docker container
  • Roles missing in mongodb
  • Docker: cannot open port from container to host
  • Securing docker containers
  • How specify the size of a shared Docker volume?
  • Docker and netstat: netstat is not showing ports, exposed by docker containers
  • mysql_upgrade failed - innodb tables doesn't exist?
  • Kubernetes on Mesos
  • How could I make docker container connect server host http proxy?
  • Sharing the host OS or sharing the Container OS
  • flocker plugin not found, error response from daemon
  • RSA server certificate apache2
  • 2 Solutions collect form web for “Where are the log files located in the Graylog server Docker container?”

    The 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:

    /usr/share/graylog/data/log
    

    Also check:

    /usr/share/graylog/data/journal
    

    Regards

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.