From: Fabian Keil <fk@fabiankeil.de>
Date: Tue, 19 Jan 2021 09:10:46 +0000 (+0100)
Subject: Log a message right before exiting gracefully
X-Git-Tag: v_3_0_30~74
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/static/@default-cgi@toggle?a=commitdiff_plain;h=960ae61d1bce3289d3a79290a3d0c583620c2414;p=privoxy.git

Log a message right before exiting gracefully
---

diff --git a/jcc.c b/jcc.c
index a805f0b2..7357c9ee 100644
--- a/jcc.c
+++ b/jcc.c
@@ -6219,6 +6219,8 @@ static void listen_loop(void)
    freez(basedir);
 #endif
 
+   log_error(LOG_LEVEL_INFO, "Exiting gracefully.");
+
 #if defined(_WIN32) && !defined(_WIN_CONSOLE)
    /* Cleanup - remove taskbar icon etc. */
    TermLogWindow();