59
submitted 1 year ago by MTK@lemmy.world to c/selfhosted@lemmy.world

I set it to debug at somepoint and forgot maybe? Idk, but why the heck does the default config of the official Docker is to keep all logs, forever, in a single file woth no rotation?

Feels like 101 of log files. Anyway, this explains why my storage recipt grew slowly but unexpectedly.

you are viewing a single comment's thread
view the rest of the comments
[-] Appoxo@lemmy.dbzer0.com 4 points 1 year ago

Logration is the abc of the developer.
Why should I need 3rd party tools to fix the work of the developer??

[-] Shimitar@downonthestreet.eu 2 points 1 year ago

Why is that? Really? The Dev should replace a system function? And implement over and over again the same errors when logrotate exist?

[-] acockworkorange@mander.xyz 3 points 1 year ago

Yes, that’s exactly what we’re arguing here. The developer also should replace autotools/cmake, git, … Don’t be daft! Packaging sane defaults for logrotate is now replacing a system function?

Docker is supposed to run a single process Logrotate is a separate process. So unless the application handles rotating logs, the container shouldn't handle it.

[-] Appoxo@lemmy.dbzer0.com 1 points 1 year ago

Is it default on every distro? If not, then it's the responsibility of the dev.

this post was submitted on 23 Feb 2025
59 points (88.3% liked)

Selfhosted

59939 readers
373 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam.

  3. Posts here are to be centered around self-hosting. Please ensure it is clear in your post how it relates to self-hosting.

  4. Don't duplicate the full text of your blog or git here. Just post the link for folks to click.

  5. Submission headline should match the article title.

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS