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

@ -24,8 +24,7 @@
* @endverbatim
*/
#define MXS_MODULE_NAME "avrorouter"
#include <maxscale/cdefs.h>
#include "avrorouter.h"
#include <stdio.h>
#include <stdlib.h>
@ -48,7 +47,6 @@
#include <ini.h>
#include <sys/stat.h>
#include "avrorouter.h"
#include <maxscale/random_jkiss.h>
#include <binlog_common.h>
#include <avro/errors.h>