[MXS-830] Provide mechanism using which log messages are augmented with the module name. Created: 2016-08-12 Updated: 2016-08-30 Resolved: 2016-08-30 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Core |
| Affects Version/s: | None |
| Fix Version/s: | 2.1.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Johan Wikman | Assignee: | Johan Wikman |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Description |
|
It's not always clear where a particular logged message is coming from. With log_augmentation the message can be augmented with function information, but most of the time that is far too detailed. In particular it would be useful to know which plugin has logged a particular message. Create some mechanism that makes it easy to include that information. |
| Comments |
| Comment by Johan Wikman [ 2016-08-30 ] | ||
|
If MXS_MODULE_NAME is defined before log_manager.h is included
each logged message will be prefixed with the module name. |