Added logging about authentication errors.

This commit is contained in:
Markus Makela
2015-03-24 19:32:17 +02:00
parent 6b8ffe7506
commit cc9b0db5e9

View File

@ -1537,6 +1537,12 @@ int gw_find_mysql_user_password_sha1(char *username, uint8_t *gateway_password,
pthread_self(),
key.user,
dcb->remote)));
skygw_log_write_flush(
LOGFILE_ERROR,
"Authentication Failed: user [%s@%s] not found.",
key.user,
dcb->remote);
break;
}