Added logging to log rotation and to filter session setup.

This commit is contained in:
VilhoRaatikka
2014-11-12 16:41:28 +02:00
parent f4576dbabc
commit 4e405ebb8f
2 changed files with 28 additions and 10 deletions

View File

@ -187,9 +187,10 @@ session_alloc(SERVICE *service, DCB *client_dcb)
session_free(session);
client_dcb->session = NULL;
session = NULL;
LOGIF(LE, (skygw_log_write_flush(
LOGIF(LE, (skygw_log_write(
LOGFILE_ERROR,
"Error : Failed to create %s session.",
"Error : Setting up filters failed. "
"Terminating session %s.",
service->name)));
goto return_session;
}