From acb88824c19d5e0721551efbb32547232833b9f4 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Fri, 13 Nov 2009 13:57:04 +0000 Subject: [PATCH] Clarify few login-related log messages --- src/client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.40.0