Back to Opsview FAQ

Infrastructure Agent - Customizing logging

The Infrastructure Agent has a few customizable options with regards to file logging.

On a Linux host, the default logging handler is syslog, so most options will be determined by the system-wide configuration.

On Windows hosts, or on Linux hosts where you decide to use the file logging handler instead of syslog, there are the following options you can change by editing the YAML files in the cfg subdirectory :

Example Copied

logging:
  handlers:
    file:
      backupCount: 10
      maxBytes: 2097152

This will increase the maximum logfile size to 2MB, and backups to 10.

["Geneos"] ["FAQ"]

Was this topic helpful?