diff --git a/src/audit_plugin.cc b/src/audit_plugin.cc index 021cc9c..22c4f59 100644 --- a/src/audit_plugin.cc +++ b/src/audit_plugin.cc @@ -224,7 +224,7 @@ static void audit(ThdSesData *pThdData) if (record_logins_enable) { const char * cmd = pThdData->getCmdName(); const char * user = pThdData->getUserName(); - if (!strcasecmp(cmd, "Connect") || !strcasecmp(cmd, "Quit")) { + if (!strcasecmp(cmd, "Connect") || !strcasecmp(cmd, "Quit") || !strcasecmp(cmd, "Failed Login")) { if(user && strlen( user)) Audit_handler::log_audit_all(pThdData); return;