22.1 Log settings
Prev | Chapter 22 Logs | Next

## 22.1 Log settings

Log parameters (file names, rotation, sending to a Syslog server) can be set in the Configuration → Accounting section. In this section of the guide an overview of all logs used by WinRoute are provided.

Figure 22.1. Log settings

Double-click on a selected log (or select a log and click on the Edit button) to open a dialog where parameters for the log can be set.

Note: If the log is not saved in a file on the disk, only records generated since the last login to WinRoute Firewall Engine will be shown in the Administration Console. After logout (or closing of Administration Console), the records will be lost.

### File Logging

Use the File Loggingtab to define file name and rotation parameters.

Figure 22.2. File logging settings

Enable logging to file

  Use this option to enable/disable logging to file according to the File name entry (the `.log` extension will be appended automatically).

  If this option is disabled, none of the following parameters and settings will be available.

Rotate regularly

  Set intervals in which the log will be rotated regularly. The file will be stored and a new log file will be started in selected intervals.

  Weekly rotation takes effect on Sunday nights. Monthly rotation is performed at the end of the month (in the night when one month ends and another starts).

Rotate when file exceeds size

  Set a maximal size for each file. Whenever the threshold is reached, the file will be rotated. Maximal size is specified in megabytes (`MB`).

Keep at most ... log file(s)

  Maximal count of log files that will be stored. Whenever the threshold is reached, the oldest file will be deleted.

Note:

1. If both Rotate regularly and the Rotate when file exceeds size are enabled, the particular file will be rotated whenever one of these conditions is met.

2. Setting of statistics and quotas accounting period does not affect log rotation (see chapter 21.2 Settings for statistics and quota). Rotation follows the rules described above.

### Syslog Logging

Parameters for logging to a Syslog can be defined in the External Logging tab.

Figure 22.3. Syslog settings

Enable Syslog logging

  Enable/disable logging to a Syslog server.

  If this option is disabled, none of the following parameters and settings will be available.

Syslog server

  DNS name or IP address of the Syslog server.

Facility

  Facility that will be used for the particular WinRoute log (depends on the Syslog server).

Severity

  Severity of logged events (depends on the Syslog server).

Prev | Up | Next
Chapter 22 Logs | Contents | 22.2 Logs Context Menu