Skip to content

Commit

Permalink
Fix incorrect help text for "Enable Webhook Debugging" (mattermost#1569)
Browse files Browse the repository at this point in the history
* Update en.json

* Update admin_definition.jsx

* Update en.json

* Update admin_definition.jsx

* Update admin_definition.jsx

* Update en.json

* Update admin_definition.jsx

* Update en.json

* Update admin_definition.jsx
  • Loading branch information
jasonblais authored and crspeller committed Aug 23, 2018
1 parent 0e35b8c commit 9bc31c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions components/admin_console/admin_definition.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -514,13 +514,13 @@ export default {
label: 'admin.log.enableWebhookDebugging',
label_default: 'Enable Webhook Debugging:',
help_text: 'admin.log.enableWebhookDebuggingDescription',
help_text_default: 'To output the request body of incoming webhooks to the console, enable this setting and set {boldedConsoleLogLevel} to "DEBUG". Disable this setting to remove webhook request body information from console logs when in DEBUG mode.',
help_text_default: 'When true, sends webhook debug messages to the server logs. To also output the request body of incoming webhooks, set {boldedLogLevel} to "DEBUG".',
help_text_values: {
boldedConsoleLogLevel: (
boldedLogLevel: (
<strong>
<FormattedMessage
id='admin.log.consoleLogLevel'
defaultMessage='Console Log Level'
id='admin.log.logLevel'
defaultMessage='Log Level'
/>
</strong>
),
Expand Down
4 changes: 2 additions & 2 deletions i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -678,12 +678,11 @@
"admin.license.uploading": "Uploading License...",
"admin.log.consoleDescription": "Typically set to false in production. Developers may set this field to true to output log messages to console based on the console level option. If true, server writes messages to the standard output stream (stdout). Changing this setting requires a server restart before taking effect.",
"admin.log.consoleJsonTitle": "Output console logs as JSON:",
"admin.log.consoleLogLevel": "Console Log Level",
"admin.log.consoleTitle": "Output logs to console: ",
"admin.log.enableDiagnostics": "Enable Diagnostics and Error Reporting:",
"admin.log.enableDiagnosticsDescription": "Enable this feature to improve the quality and performance of Mattermost by sending error reporting and diagnostic information to Mattermost, Inc. Read our [privacy policy](!https://about.mattermost.com/default-privacy-policy/) to learn more.",
"admin.log.enableWebhookDebugging": "Enable Webhook Debugging:",
"admin.log.enableWebhookDebuggingDescription": "To output the request body of incoming webhooks to the console, enable this setting and set {boldedConsoleLogLevel} to 'DEBUG'. Disable this setting to remove webhook request body information from console logs when in DEBUG mode.",
"admin.log.enableWebhookDebuggingDescription": "When true, sends webhook debug messages to the server logs. To also output the request body of incoming webhooks, set {boldedLogLevel} to 'DEBUG'.",
"admin.log.fileDescription": "Typically set to true in production. When true, logged events are written to the mattermost.log file in the directory specified in the File Log Directory field. The logs are rotated at 10,000 lines and archived to a file in the same directory, and given a name with a datestamp and serial number. For example, mattermost.2017-03-31.001. Changing this setting requires a server restart before taking effect.",
"admin.log.fileJsonTitle": "Output file logs as JSON:",
"admin.log.fileLevelDescription": "This setting determines the level of detail at which log events are written to the log file. ERROR: Outputs only error messages. INFO: Outputs error messages and information around startup and initialization. DEBUG: Prints high detail for developers working on debugging issues.",
Expand All @@ -695,6 +694,7 @@
"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",
"admin.log.locationTitle": "File Log Directory:",
"admin.log.logLevel": "Log Level",
"admin.log.logSettings": "Log Settings",
"admin.logs.bannerDesc": "To look up users by User ID or Token ID, go to Reporting > Users and paste the ID into the search filter.",
"admin.logs.next": "Next",
Expand Down

0 comments on commit 9bc31c7

Please sign in to comment.