LOGIF and skygw_log_write removed.

All places where LOGIF and skygw_log_write were used have been
updated to use the new logging macros instead. Consequently,
they can now be removed.
This commit is contained in:
Johan Wikman
2015-11-18 15:08:50 +02:00
parent ee7793312b
commit 0345f3622d
4 changed files with 93 additions and 116 deletions

View File

@ -124,11 +124,11 @@ int main(int argc, char** argv)
memset(message + block_size - 1, '\0', 1);
if (interval > 0 && i % interval == 0)
{
err = skygw_log_write_flush(LOGFILE_ERROR, "%s", message);
err = MXS_ERROR("%s", message);
}
else
{
err = skygw_log_write(LOGFILE_ERROR, "%s", message);
err = MXS_ERROR("%s", message);
}
if (err)
{