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.

  • Shimitar
    link
    fedilink
    English
    011 hours ago

    Agreed, but going container route those nice basic practices are dead.

    And also, being mextcloud a php service, of can’t by definition ship with a logrotate config too, because its never packaged by your repo.

    • @peregus
      link
      English
      59 hours ago

      The fact (IMHO) is that the logs shouldn’t be there, in a persistent volume.

      • Shimitar
        link
        fedilink
        English
        05 hours ago

        Probably, but still, if they are, just rotate them.