diff --git a/webapp/channels/src/components/admin_console/admin_definition_constants.tsx b/webapp/channels/src/components/admin_console/admin_definition_constants.tsx index 816b0c37a4..e75c9e81f6 100644 --- a/webapp/channels/src/components/admin_console/admin_definition_constants.tsx +++ b/webapp/channels/src/components/admin_console/admin_definition_constants.tsx @@ -166,4 +166,8 @@ export const LOG_LEVEL_OPTIONS = [ value: 'ERROR', display_name: defineMessage({id: 'admin.log.levelOptions.ERROR', defaultMessage: 'ERROR'}), }, + { + value: 'WARN', + display_name: defineMessage({id: 'admin.log.levelOptions.WARN', defaultMessage: 'WARN'}), + }, ]; diff --git a/webapp/channels/src/i18n/en.json b/webapp/channels/src/i18n/en.json index 671eb32382..9972eefa55 100644 --- a/webapp/channels/src/i18n/en.json +++ b/webapp/channels/src/i18n/en.json @@ -1443,6 +1443,7 @@ "admin.log.levelOptions.DEBUG": "DEBUG", "admin.log.levelOptions.ERROR": "ERROR", "admin.log.levelOptions.INFO": "INFO", + "admin.log.levelOptions.WARN": "WARN", "admin.log.levelTitle": "Console Log Level:", "admin.log.locationDescription": "The location of the log files. If blank, they are stored in the ./logs directory. The path that you set must exist and Mattermost must have write permissions in it. Changing this setting requires a server restart before taking effect.", "admin.log.locationPlaceholder": "Enter your file location",