Confusion about logs persistence/storage #4079
-
Hi! I have so far only used I am considering upgrading to dozzle in order to centralize and get better capabilities, and as a part of that also get a better understanding of how to do logging properly. I am lacking understanding regarding where/if logs are stored. Does dozzle maintain any own copy/db of all logs? Or is it only a 'view' into docker containers? Is dozzle a UI only? Would be grateful for a brief explanation of how these pieces fit together. I also think this topic would be great to mention in the docs (didn't see it) as Dozzle seems to be a beginner friendly logging alternative, and all new users may not have a full understanding of how to think about logs, persistence, rotation etc. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @einarpersson. The documentation has been a community effort so I would greatly appreciate PRs. Dozzle leverages the APIs exposed by Docker. Its strength relies on this simplicity. There is no persistence because Docker already stores everything on disk. Docker logger services can be configured but it won't effect Dozzle because it still uses the API to access the logs. I think you got it right. It is only a "view" into the logs. There is no "upgrade" because nothing is stored anywhere. I won't have a lot of time to go in details. The documentation has some of this covered but there isn't a dedicated documentation on logging works. |
Beta Was this translation helpful? Give feedback.
Hi @einarpersson. The documentation has been a community effort so I would greatly appreciate PRs.
Dozzle leverages the APIs exposed by Docker. Its strength relies on this simplicity. There is no persistence because Docker already stores everything on disk. Docker logger services can be configured but it won't effect Dozzle because it still uses the API to access the logs.
I think you got it right. It is only a "view" into the logs. There is no "upgrade" because nothing is stored anywhere.
I won't have a lot of time to go in details. The documentation has some of this covered but there isn't a dedicated documentation on logging works.