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:
@ -25,6 +25,8 @@
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
#define MXS_MODULE_NAME "CDCPlainAuth"
|
||||
|
||||
#include <maxscale/gw_authenticator.h>
|
||||
#include <sys/stat.h>
|
||||
#include <cdc.h>
|
||||
|
||||
@ -11,6 +11,8 @@
|
||||
* Public License.
|
||||
*/
|
||||
|
||||
#define MXS_MODULE_NAME "GSSAPIAuth"
|
||||
|
||||
#include <maxscale/gw_authenticator.h>
|
||||
#include <maxscale/alloc.h>
|
||||
#include <maxscale/dcb.h>
|
||||
|
||||
@ -11,6 +11,8 @@
|
||||
* Public License.
|
||||
*/
|
||||
|
||||
#define MXS_MODULE_NAME "GSSAPIBackendAuth"
|
||||
|
||||
#include <maxscale/gw_authenticator.h>
|
||||
#include <maxscale/alloc.h>
|
||||
#include <maxscale/dcb.h>
|
||||
|
||||
@ -24,6 +24,8 @@
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
#define MXS_MODULE_NAME "HTTPAuth"
|
||||
|
||||
#include <maxscale/gw_authenticator.h>
|
||||
#include <maxscale/alloc.h>
|
||||
#include <maxscale/modinfo.h>
|
||||
|
||||
@ -26,6 +26,8 @@
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
#define MXS_MODULE_NAME "MaxAdminAuth"
|
||||
|
||||
#include <maxscale/gw_authenticator.h>
|
||||
#include <maxscale/alloc.h>
|
||||
#include <maxscale/modinfo.h>
|
||||
|
||||
@ -35,6 +35,8 @@
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
#define MXS_MODULE_NAME "MySQLAuth"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#include <mysql.h>
|
||||
|
||||
@ -25,6 +25,8 @@
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
#define MXS_MODULE_NAME "MySQLAuth"
|
||||
|
||||
#include <mysql_auth.h>
|
||||
#include <maxscale/protocol/mysql.h>
|
||||
#include <maxscale/gw_authenticator.h>
|
||||
|
||||
@ -29,6 +29,8 @@
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
#define MXS_MODULE_NAME "MySQLBackendAuth"
|
||||
|
||||
#include <maxscale/gw_authenticator.h>
|
||||
#include <maxscale/protocol/mysql.h>
|
||||
#include <maxscale/alloc.h>
|
||||
|
||||
@ -27,6 +27,8 @@
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
#define MXS_MODULE_NAME "NullAuthAllow"
|
||||
|
||||
#include <maxscale/gw_authenticator.h>
|
||||
#include <maxscale/modinfo.h>
|
||||
#include <maxscale/dcb.h>
|
||||
|
||||
@ -27,6 +27,8 @@
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
#define MXS_MODULE_NAME "NullAuthDeny"
|
||||
|
||||
#include <maxscale/gw_authenticator.h>
|
||||
#include <maxscale/modinfo.h>
|
||||
#include <maxscale/dcb.h>
|
||||
|
||||
Reference in New Issue
Block a user