Remove explicit module name from log messages

The module name doesn't need to be logged as MXS_MODULE_NAME will be
automatically added as a prefix to all messages logged by the module.
This commit is contained in:
Markus Mäkelä
2017-01-17 10:54:12 +02:00
parent 842e8440d4
commit 5b92a1f467
18 changed files with 98 additions and 100 deletions

View File

@ -171,7 +171,7 @@ blr_start_master(void* data)
spinlock_release(&router->lock);
if ((client = dcb_alloc(DCB_ROLE_INTERNAL, NULL)) == NULL)
{
MXS_ERROR("Binlog router: failed to create DCB for dummy client");
MXS_ERROR("failed to create DCB for dummy client");
return;
}
router->client = client;
@ -179,7 +179,7 @@ blr_start_master(void* data)
client->data = CreateMySQLAuthData(router->user, router->password, "");
if ((router->session = session_alloc(router->service, client)) == NULL)
{
MXS_ERROR("Binlog router: failed to create session for connection to master");
MXS_ERROR("failed to create session for connection to master");
return;
}
client->session = router->session;
@ -198,7 +198,7 @@ blr_start_master(void* data)
{
router->retry_backoff = BLR_MAX_BACKOFF;
}
MXS_ERROR("Binlog router: failed to connect to master server '%s'",
MXS_ERROR("failed to connect to master server '%s'",
router->service->dbref->server->unique_name);
return;
}