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:- 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, } - 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"} - Log retention count - retain all logs (-1) or a specific number of
logs
{"message_log_retention_count":-1,"access_log_retention_count":100}