From f870d3bf148b00e5ba6b75efebf063aa93450265 Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Wed, 25 Mar 2015 11:23:51 +0200 Subject: [PATCH] Added more alternative logging. --- server/modules/protocol/mysql_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/modules/protocol/mysql_common.c b/server/modules/protocol/mysql_common.c index 3cb350b1b..2365ebbec 100644 --- a/server/modules/protocol/mysql_common.c +++ b/server/modules/protocol/mysql_common.c @@ -1538,11 +1538,11 @@ int gw_find_mysql_user_password_sha1(char *username, uint8_t *gateway_password, key.user, dcb->remote))); - skygw_log_write_flush( + LOGIF(LT,skygw_log_write_flush( LOGFILE_ERROR, "Authentication Failed: user [%s@%s] not found.", key.user, - dcb->remote); + dcb->remote)); break; }