3.7.1. Configuration

To configure the log outputs and levels, consult the following paragraphs:

For Linux systems the installer configures the logrotate service to handle the Metadefender Core log files.

Configuration files are located:

  • /etc/logrotate.d/ometascan

  • /etc/logrotate.d/ometascan-node

The default configuration will rotate daily and store the last 30 days.

If the log file path is modified, the logrotate config file should be updated as well.

Permissions to set:

  • The directory that contains the logs: read, write and execute permissions for ometascan user or at least for ometascan group

  • The other directories on the path to the logs: at least read and execute permissions for ometascan user and/or ometascan group

The new log settings will be used after a service restart or a HUP signal.