13.2.3. Procedure – Configuring logging for agents

With the Log settings (log) parameter it can be defined which type of messages should be logged at the agent's side. Logtags can be applied to enable advanced message filtering and also determine where the messages shall be logged to.

  1. Select the desired level of logging.

    The default value is level 3 which means that all important events are logged but no detailed debug information. The higher the value the more information is logged. The allowed levels are from 0 to 10.

  2. (OPTIONAL)

    Give log specification if it is required to fine-tune for which logtags which level of messages are logged, for example, core.debug: 2, session.error: 8,*. accounting:5..

  3. (OPTIONAL) Tick Syslog to log to syslog, otherwise the messages are logged to the standard output (STDOUT).

    Tip

    Logging on the console might be useful during troubleshooting.

  4. (OPTIONAL)

    Tick Tags to log the logtags as well.

    Tip

    This is beneficial if log messages need to be searched and analysed, but it requires more disk space.

    Setting up agent logging

    Figure 13.18. Setting up agent logging