From: Marko Kreen Date: Fri, 13 Nov 2009 13:57:04 +0000 (+0000) Subject: Clarify few login-related log messages X-Git-Tag: pgbouncer_1_3_2~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=acb88824c19d5e0721551efbb32547232833b9f4;p=pgbouncer Clarify few login-related log messages --- diff --git a/src/client.c b/src/client.c index f620717..613aa54 100644 --- a/src/client.c +++ b/src/client.c @@ -149,7 +149,7 @@ static bool decide_startup_pool(PgSocket *client, PktHdr *pkt) /* find pool and log about it */ if (set_pool(client, dbname, username)) { if (cf_log_connections) - slog_info(client, "login successful: db=%s user=%s", dbname, username); + slog_info(client, "login attempt: db=%s user=%s", dbname, username); return true; } else { if (cf_log_connections) @@ -256,7 +256,7 @@ static bool handle_client_startup(PgSocket *client, PktHdr *pkt) if (!finish_client_login(client)) return false; } else { - disconnect_client(client, true, "Login failed"); + disconnect_client(client, true, "Auth failed"); return false; } break;