aboutsummaryrefslogtreecommitdiffstats
path: root/agent
diff options
context:
space:
mode:
Diffstat (limited to 'agent')
-rw-r--r--agent/ChangeLog4
-rw-r--r--agent/gpg-agent.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/agent/ChangeLog b/agent/ChangeLog
index c4a37f5e8..0e165e31b 100644
--- a/agent/ChangeLog
+++ b/agent/ChangeLog
@@ -1,3 +1,7 @@
+2003-12-16 Werner Koch <[email protected]>
+
+ * gpg-agent.c (main): Set the prefixes for assuan logging.
+
2003-12-15 Werner Koch <[email protected]>
* protect.c (do_encryption): Use gcry_create_nonce instad of the
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 675f2be3f..47420117e 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -355,6 +355,8 @@ main (int argc, char **argv )
}
assuan_set_malloc_hooks (gcry_malloc, gcry_realloc, gcry_free);
+ assuan_set_assuan_log_stream (log_get_stream ());
+ assuan_set_assuan_log_prefix (log_get_prefix (NULL));
gcry_set_log_handler (my_gcry_logger, NULL);
gcry_control (GCRYCTL_USE_SECURE_RNDPOOL);