Determines whether console logs display in the default format or JSON format. When set to false, logs display in the default format:
When set to true, logs display in JSON format:
GATEWAY_LOG_CONSOLE_JSON
Section: log
Key: console_json
false
Determines whether the gateway writes to a log file.
GATEWAY_LOG_FILE_ENABLED
Section: log
Key: file_enabled
true
Determines whether file logs display in the default format or JSON format. When set to false, logs display in the default format:
When set to true, logs display in JSON format:
GATEWAY_LOG_FILE_JSON
Section: log
Key: file_json
false
Sets the verbosity of the logs that the gateway displays to the console and file logs.
GATEWAY_LOG_LEVEL
Section: log
Key: level
INFO
["TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL", "DISABLED"]
Sets the directory for the gateway.log file when you launch the gateway as a server. When you don’t launch the gateway as a server or runner, the system places logs in GATEWAY_APPLICATION_WORKING_DIR.
GATEWAY_LOG_SERVER_DIR
Section: log
Key: server_dir
/var/log/gateway
Sets the timezone for timestamps in gateway logs. For example:
Timezones are shown in UTC by default. When you set this to local, the gateway uses your machine’s timezone. You can also set a timezone (tz) identifier such as America/New_York.
GATEWAY_LOG_TIMESTAMP_TIMEZONE
Section: log
Key: timestamp_timezone
utc
["utc", "local", ...any tz identifier]