13.2.3. Procedure – Configuring logging for agents

With the Log settings (log) parameter you can determine which type of messages should be logged at the agent's side. You can apply logtags to enable advanced message filtering and also determine where the messages should 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 you want 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 if you want 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 if you want to log the logtags as well.

    Tip

    This is beneficial if you need to search and analyze the log messages, but takes up more disk space.

    Setting up agent logging

    Figure 13.18. Setting up agent logging