Want access to my docker logs
-
I want access to logs from my docker instances. FusionAuth doesn't write system logs to the filesystem for docker: https://fusionauth.io/docs/v1/tech/admin-guide/monitor#log-files
What can I do?
This is pulled over from https://github.com/FusionAuth/fusionauth-issues/issues/1614
-
This is a docker issue. I'd suggest you set up a logging driver. From a brief look it seems like this is a runtime option.
More details: https://docs.docker.com/config/containers/logging/configure/ and https://docs.docker.com/config/containers/logging/
-
This answer partially to the question. What about the admin UI access? I mean this:
-
Thanks for the question. The reason that you are not seeing anything in this view is you need to have a docker logger set up. FusionAuth will write system logs to STDOUT. This output must be picked up by a logger in Docker (which can then be reviewed). By contrast, if you were running FusionAuth in a non-containerized environment, this view would show you current system logs.
Hope this helps!
Thanks,
Josh -