MXS-362: Enable/disable log augmentation

Log message augmentation (appending of function name) can now
be enabled or disabled via the configuration file and command
line.

By default, the augmentation is disabled.
This commit is contained in:
Johan Wikman
2015-09-11 15:21:31 +03:00
parent 535523f9d7
commit 37f8148574
4 changed files with 39 additions and 2 deletions

View File

@ -106,7 +106,7 @@ static bool flushall_done_flag;
/**
* Default augmentation.
*/
static int default_log_augmentation = LOG_AUGMENT_WITH_FUNCTION;
static int default_log_augmentation = 0;
static int log_augmentation = default_log_augmentation;
/** Writer thread structure */