Adding custom log file to rolling logs files

  • Hi all, I added some custom rsync jobs and script that log in /var/log folder.
    How can I add also these logs files to rolling log file configuration?
    I mean somewhere there is configured a max size for log and I can see that they are automatically rolled :(

  • Look at the existing scripts in /etc/logrotate.d to see how this already being done for other logs. Then create a similar script there for your specific case.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!