Add definitions of MXS_MODULE_NAME to all modules

All modules now declare a name for the module. This is name is added as a
prefix to all messages logged by a module. The prefix should help
determine which part of the system logs a message.
This commit is contained in:
Markus Mäkelä
2017-01-16 11:16:05 +02:00
parent d054bc9b04
commit 2cabcea211
66 changed files with 154 additions and 32 deletions

View File

@ -45,6 +45,9 @@
* 07/02/2016 Martin Brampton Split off authentication and SSL.
* 31/05/2016 Martin Brampton Implement connection throttling
*/
#define MXS_MODULE_NAME "MySQLClient"
#include <maxscale/protocol.h>
#include <maxscale/alloc.h>
#include <maxscale/log_manager.h>