summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-12-23 00:24:05 +0100
committerMichael Adam <obnox@samba.org>2009-12-23 00:31:55 +0100
commitadf4640104d0568b0e5f228fa4657d1e2320df3c (patch)
treeb0bcb5347d6135bc7d0e99320615f53c33b15572
parent0466526b1d85ffc2488f06a6e5a3105178be9563 (diff)
downloadtinyproxy-adf4640104d0568b0e5f228fa4657d1e2320df3c.tar.gz
tinyproxy-adf4640104d0568b0e5f228fa4657d1e2320df3c.zip
log: add start/end debug messages for "sending stored logs".
Michael
Diffstat (limited to '')
-rw-r--r--src/log.c4
1 files changed, 4 insertions, 0 deletions
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");
}
/**