From adf4640104d0568b0e5f228fa4657d1e2320df3c Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 23 Dec 2009 00:24:05 +0100 Subject: log: add start/end debug messages for "sending stored logs". Michael --- src/log.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/log.c b/src/log.c index c983162..46cc210 100644 --- a/src/log.c +++ b/src/log.c @@ -222,6 +222,8 @@ void send_stored_logs (void) size_t i; + log_message(LOG_DEBUG, "sending stored logs"); + for (i = 0; (ssize_t) i != vector_length (log_message_storage); ++i) { string = (char *) vector_getentry (log_message_storage, i, NULL); @@ -244,6 +246,8 @@ void send_stored_logs (void) vector_delete (log_message_storage); log_message_storage = NULL; + + log_message(LOG_DEBUG, "done sending stored logs"); } /** -- cgit v1.2.3