dovecot-1.1: auth_debug: Show cache contents in "cache hit" lines.

dovecot at dovecot.org dovecot at dovecot.org
Thu Feb 21 15:24:57 EET 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/6127a0501e72
changeset: 7275:6127a0501e72
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Feb 21 15:26:22 2008 +0200
description:
auth_debug: Show cache contents in "cache hit" lines.

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
src/auth/passdb-cache.c |    4 ++--

diffs (21 lines):

diff -r da971cec0395 -r 6127a0501e72 src/auth/passdb-cache.c
--- a/src/auth/passdb-cache.c	Thu Feb 21 15:18:31 2008 +0200
+++ b/src/auth/passdb-cache.c	Thu Feb 21 15:26:22 2008 +0200
@@ -28,7 +28,7 @@ bool passdb_cache_verify_plain(struct au
 				       value == NULL ? "miss" : "expired");
 		return FALSE;
 	}
-	auth_request_log_debug(request, "cache", "hit");
+	auth_request_log_debug(request, "cache", "hit: %s", value);
 
 	if (*value == '\0') {
 		/* negative cache entry */
@@ -88,7 +88,7 @@ bool passdb_cache_lookup_credentials(str
 				       value == NULL ? "miss" : "expired");
 		return FALSE;
 	}
-	auth_request_log_debug(request, "cache", "hit");
+	auth_request_log_debug(request, "cache", "hit: %s", value);
 
 	if (*value == '\0') {
 		/* negative cache entry */


More information about the dovecot-cvs mailing list