Log settings configuration file - Platform - BlueCat Gateway - 24.1

Gateway Administration Guide

ft:locale
en-US
Product name
BlueCat Gateway
Version
24.1

You can configure Gateway logging behavior in the config.json configuration file. These settings apply to the access.log and messages.log files.

Log destinations: Sets whether messages are logged to the file or the standard out (stdout) channel.

{
    "message_log_to_stdout": false,
    "message_log_to_file": true,
    "access_log_to_stdout": false
    "access_log_to_file": true,
}

Log rotation size: Sets the maximum size of log files (in MB) before they are rotated out.

{
    "message_log_rotation_size": "10",
    "access_log_rotation_size": "10"
}

Log retention count: Specifies how many log files to retain. To retain all logs, set the retention count setting to -1.

{
    "message_log_retention_count": -1,
    "access_log_retention_count": 100
}