Log settings configuration - Platform - BlueCat Gateway - 21.11.2

Gateway Administration Guide

Locale
English
Product name
BlueCat Gateway
Version
21.11.2
As part of the enhancements for Gateway logging, BlueCat Gateway v21.5.1 introduces a new configuration file, config.json, that can be used to define the following logging settings for access.log and messages.log:
  1. Log destinations - set the log destination to either to a file or standard out
    {
        "message_log_to_stdout": false,
        "message_log_to_file": true,
        "access_log_to_stdout": false
        "access_log_to_file": true,
    }
  2. Log rotation size - set the maximum size of the logs to rotate specified in megabytes
    {
        "message_log_rotation_size": "10",
        "access_log_rotation_size": "10"
    }
  3. Log retention count - retain all logs (-1) or a specific number of logs
    {
        "message_log_retention_count": -1,
        "access_log_retention_count": 100
    }