LOGIF and skygw_log_write removed from cli.c and debugcli.c
This commit is contained in:
@ -100,10 +100,7 @@ version()
|
|||||||
void
|
void
|
||||||
ModuleInit()
|
ModuleInit()
|
||||||
{
|
{
|
||||||
LOGIF(LM, (skygw_log_write(
|
MXS_NOTICE("Initialise CLI router module %s.", version_str);
|
||||||
LOGFILE_MESSAGE,
|
|
||||||
"Initialise CLI router module %s.\n",
|
|
||||||
version_str)));
|
|
||||||
spinlock_init(&instlock);
|
spinlock_init(&instlock);
|
||||||
instances = NULL;
|
instances = NULL;
|
||||||
}
|
}
|
||||||
@ -149,12 +146,7 @@ int i;
|
|||||||
{
|
{
|
||||||
for (i = 0; options[i]; i++)
|
for (i = 0; options[i]; i++)
|
||||||
{
|
{
|
||||||
{
|
MXS_ERROR("Unknown option for CLI '%s'", options[i]);
|
||||||
LOGIF(LE, (skygw_log_write(
|
|
||||||
LOGFILE_ERROR,
|
|
||||||
"Unknown option for CLI '%s'\n",
|
|
||||||
options[i])));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -99,10 +99,7 @@ version()
|
|||||||
void
|
void
|
||||||
ModuleInit()
|
ModuleInit()
|
||||||
{
|
{
|
||||||
LOGIF(LM, (skygw_log_write(
|
MXS_NOTICE("Initialise debug CLI router module %s.", version_str);
|
||||||
LOGFILE_MESSAGE,
|
|
||||||
"Initialise debug CLI router module %s.\n",
|
|
||||||
version_str)));
|
|
||||||
spinlock_init(&instlock);
|
spinlock_init(&instlock);
|
||||||
instances = NULL;
|
instances = NULL;
|
||||||
}
|
}
|
||||||
@ -158,10 +155,7 @@ int i;
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LOGIF(LE, (skygw_log_write(
|
MXS_ERROR("Unknown option for CLI '%s'", options[i]);
|
||||||
LOGFILE_ERROR,
|
|
||||||
"Unknown option for CLI '%s'\n",
|
|
||||||
options[i])));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user