Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log rotation for teslalogger in docker #1149

Open
sirathan opened this issue Jan 5, 2024 · 0 comments
Open

Log rotation for teslalogger in docker #1149

sirathan opened this issue Jan 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sirathan
Copy link

sirathan commented Jan 5, 2024

Describe the bug
It is not really a bug, but the docker logfile (.json) built up to 34G and filled my disk.
I now configured my docker deamon to do log rotation and limit logfile-size. It might be comfortable to build log rotation into the docker-compose file like that:

logging:
  driver: "json-file"
  options:
    max-size: "100M"
    max-file: "10"

** Teslalogger Type **
Docker

@sirathan sirathan added the bug Something isn't working label Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant