Description
context: https://hub.mattermost.com/private-core/pl/drb6tnnyrjfg5cgi1dpa7qwh9o
Customer observed a DEBUG level message along the lines of "there is no advanced logging configuration for notifications" and wanted to know more. Logging configuration and logging setup documentation for admins is missing the following notifications target details:
"NotificationLogSettings": {
"EnableConsole": true,
"ConsoleLevel": "DEBUG",
"ConsoleJson": true,
"EnableColor": false,
"EnableFile": true,
"FileLevel": "INFO",
"FileJson": true,
"FileLocation": "",
"AdvancedLoggingJSON": {}
},
There is a note in the logging configuration settings docs confirming that admins "can manage additional logging configuration within the config.json
file specifically for Mattermost notifications under NotificationLogSettings
. These settings are equivalent to the configuration settings available under LogSettings." which isn't sufficient for admins looking to understand the debug errors they're seeing while preparing for a production upgrade compared to their their dev staging environment.
@claude - Let's add logging configuration documentation for the notifications target based on the config.json
settings available listed above.