Hydra Logs Location

I’m trying to collect Hydra logs and send them to to an online log platform. I see from the documentation that I can query logs via the following docker command:

docker logs ory-hydra-example–hydra

But I can’t find a log location from inside of the container. Are logs only written to docker console via stdout or is there a location where these are collected inside of the container?

Logs are not written to the file system as that is not compliant with typical PaaS environments (think Heroku, AWS ECS, Kubernetes, Docker Compose, Docker Swarm, Docker, Flynn, CloudFoundry, and generally anything remotely cloud oriented) but always to /dev/stdout and /dev/stderr. From there, you can either use syslogd or any other kind of service to forward them somewhere else