this post was submitted on 09 Aug 2022
16 points (100.0% liked)
Lemmy Support
4718 readers
21 users here now
Support / questions about Lemmy.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Found the largest file on our server and have no clue what it is and why it is so fucking huge!
i believe that's just a regular docker log file. i don't think by default that docker shrinks their log files, so it's probably everything since you started your instance.
i'm just guessing though.
I also believe that by default docker does not shrink log files.
In the past I’ve used
—log-opt max-size=10m
or something similar to have docker keep the logs at 10megsWould you mind sharing your code and where, precisely, to place it?