Configuring logs

You can configure the level of information for each log along with log file size and organization.

You can select different settings for each item and change them at any time based on your system activity and the type of information you need to track and analyze. Because much of the system activity takes place within nodes, you might need to provide more detail and greater log file capacity for the Node Server.

Note

Log levels apply only to Juniper classes, not to third-party libraries.

Perform the following steps to configure log settings.

  1. Go to Administration > Environment Management.

  2. Select the on-premises connector environment for which to apply log configuration settings.

  3. Click the Log Configuration icon.

  4. Click the Log Configuration Override toggle to display the log settings.

  5. Enter or select the following settings.

Field

Description

Log Level

Log Level refers to the type of content and level of detail included in logs. The options (in increasing level of detail) are:

  • Warn — Includes only errors or warnings of actual or possible problems.

  • Info — Includes informational text about system processes and status, along with warnings and errors.

  • Debug — Includes all informational text, warnings and errors, and more detailed information about system conditions. This information can aid in diagnosing and troubleshooting system issues.

  • Trace — The most detailed level of information. This information can be used by developers to focus on a precise area of the system.

Select a log level.

Number of Log Files

The maximum number of files that can be maintained. When this number is reached, the oldest log file is deleted.

Log File Max Size

The maximum size allowed for a single log file. When the maximum file size is reached, the file is archived, and information is stored in a new file. Each of the remaining logs is renamed to the next higher number. The current log is then compressed and renamed log-name.1.gz. A new log is started with log-name. So, if the maximum is 10, log-name.9.gz is the oldest file, and log-name.1.gz is the newest non-active file.

  1. Click Save.