this post was submitted on 23 Feb 2025
37 points (87.8% liked)

Selfhosted

42815 readers
1356 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 posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

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

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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
[–] non_burglar@lemmy.world 13 points 9 hours ago (1 children)

I don't disagree that logrotate is a sensible answer here, but making that the responsibility of the user is silly.

[–] Shimitar@downonthestreet.eu 0 points 1 hour ago (1 children)

Are you crazy? I understand that we are used to dumbed down stuff, but come on...

Rotating logs is in the ABC of any sysadmin, even before backups.

First, secure your ssh logins, then secure your logs, then your fail2ban then your backups...

To me, that's in the basic stuff you must always ensure.

[–] catloaf@lemm.ee 1 points 48 minutes ago (1 children)

Those should also all be secure by default. What is this, Windows?

[–] Shimitar@downonthestreet.eu 1 points 28 minutes ago

Just basic checks I prefer to ensure, not leave to distribution good faith. If all is set, good to go. Otherwise, fix and move on.

Specially with self hosted stuff that is a bit more custom than the usual.