Changing log file location

  • Is it possible to change the /var/log files location and create a symlink for it ?

    ie /var/log symlink to /udder/drive/logfiles

    Purpose: limited OMV OS drive size, during some vm conversions the debug log file freaks out growing to 50GB sometimes, log-rotate that a few times and there can be several 100GB of log files.

    • Offizieller Beitrag

    To answer your question more directly however, I believe the symlink plugin should make this fairly easy...


    1. Install the symlink plugin

    2. Delete the directory you want to symlink at the command line level (ie, rm -R /var/log)

    3. Create a directory in the webUi on one of your storage drives

    4. Create a symlink with the plugin, the shared folder you created in the webUI as the source, and /var/log (or whatever folder you deleted)... as the target


    It will write to /var/log still, but the actual data will be stored on your data drive.

Jetzt mitmachen!

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