FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Want access to my docker logs

    Scheduled Pinned Locked Moved Unsolved
    Q&A
    docker logs log files
    3
    4
    2.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • danD
      dan
      last edited by

      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

      --
      FusionAuth - Auth for devs, built by devs.
      https://fusionauth.io

      1 Reply Last reply Reply Quote 0
      • danD
        dan
        last edited by

        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/

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • S
          sullivan
          last edited by

          This answer partially to the question. What about the admin UI access? I mean this:

          ace4a2e5-7362-4749-ab41-ecbb8c234be1-image.png

          joshuaJ 1 Reply Last reply Reply Quote 0
          • joshuaJ
            joshua @sullivan
            last edited by

            @sullivan

            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.

            • https://docs.docker.com/config/containers/logging/configure/

            Hope this helps!

            Thanks,
            Josh

            1 Reply Last reply Reply Quote 0
            • danD dan referenced this topic on
            • First post
              Last post