From 7e2ac8bd3f8aa99a0966516be7d7a4783bfab4bb Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 11 Oct 2011 17:03:57 -0400 Subject: [PATCH] Authentication block logging * Login too-many-auth-failures message at Info level instead of Internal * Log the username getting blocked Signed-off-by: Bill Erickson Signed-off-by: Galen Charlton --- Open-ILS/src/c-apps/oils_auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/c-apps/oils_auth.c b/Open-ILS/src/c-apps/oils_auth.c index be890d1f12..b1719959ed 100644 --- a/Open-ILS/src/c-apps/oils_auth.c +++ b/Open-ILS/src/c-apps/oils_auth.c @@ -312,7 +312,7 @@ static int oilsAuthVerifyPassword( const osrfMethodContext* ctx, long failcount = (long) jsonObjectGetNumber( countobject ); if(failcount >= _oilsAuthBlockCount) { ret = 0; - osrfLogInternal(OSRF_LOG_MARK, "oilsAuth found too many recent failures: %i, forcing failure state.", failcount); + osrfLogInfo(OSRF_LOG_MARK, "oilsAuth found too many recent failures for '%s' : %i, forcing failure state.", uname, failcount); } if(ret == 0) { failcount += 1; -- 2.11.0