Code: Select all
-l filename
For now I modify the systemd files with an additional line:
Code: Select all
ExecStopPost=/bin/bash -c 'cp -a /var/log/deluge/daemon.log "/var/log/deluge/daemon.$(date +"%%m-%%d-%%y-%%r").log"'
While this is a workaround I would still love to see a native solution, meaning appending the log file instead of creating dozens of them. Maybe there is an extra option that I do not know of? I am running Ubuntu 18.04 LTS if that matters