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.

  • MTK@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    4
    ·
    11 hours ago

    Look, defaults are a thing and if your defaults suck then you’ve made a mistake and if your default is to save a 100GB of log file in one file then something is wrong. The default in Dockers should just be not to save any log files on the persistent volumes.

    • sugar_in_your_tea
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 hours ago

      Exactly. It should just write to stdout and let whatever is running it manage it.