diff --git a/Getting-Started/Configuration-Guide.md b/Getting-Started/Configuration-Guide.md index 01a8c1dba..0bb10617b 100644 --- a/Getting-Started/Configuration-Guide.md +++ b/Getting-Started/Configuration-Guide.md @@ -124,6 +124,18 @@ log_debug=1 To disable the log use the value 0 and to enable it use the value 1. +#### `log_augmentation` + +Enable or disable the augmentation of messages. If this is enabled, then each logged message is appended with the name of the function where the message was logged. This is primarily for development purposes and hence is disabled by default. + +``` +# Valid options are: +# log_augmentation=<0|1> +log_augmentation=1 +``` + +To disable the augmentation use the value 0 and to enable it use the value 1. + #### `logdir` Set the directory where the logfiles are stored. The folder needs to be both readable and writable by the user running MaxScale. diff --git a/Tutorials/Administration-Tutorial.md b/Tutorials/Administration-Tutorial.md index 364ca7e41..920c60f96 100644 --- a/Tutorials/Administration-Tutorial.md +++ b/Tutorials/Administration-Tutorial.md @@ -43,6 +43,7 @@ Switch|Long Option|Description `-U USER`|`--user=USER`|run MaxScale as another user. The user ID and group ID of this user are used to run MaxScale. `-s [yes no]`|`--syslog=[yes no]`|log messages to syslog (default:yes) `-S [yes no]`|`--maxscalelog=[yes no]`|log messages to MaxScale log (default: yes) +`-G [0 1]`|`--log_augmentation=[0 1]`|augment messages with the name of the function where the message was logged (default: 0). Primarily for development purposes. `-v`|`--version`|print version info and exit `-V`|`--version-full`|print version info and the commit ID the binary was built from `-?`|`--help`|show this help