From 0a1885deb0e22e739fffc97c2821193c716a8342 Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Tue, 18 Jun 2002 20:10:23 +0000 Subject: Updated the ChangeLog --- ChangeLog | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4aa98fa..668177d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,34 @@ +2002-06-15 Robert James Kaes + + * src/log.c (log_message): + Changed the code so that the log is opened, written, and closed + whenever a message is submitted. This allows the log file to be + moved away, for example a rotating the log, and yet still have the + information written to the correct file name by all the children. + + * src/tinyproxy.c: + Renamed the "log_rotation_request" boolean to "received_sighup". + (main): Removed the log file creation code because it has been + moved into the log.c file. Also, removed the explicit fclose() + for the log file since it will be close when the program has + exited. + + * src/child.c (child_main_loop): + Moved the filter re-initiation code into the loop. This code is + activated whenever the SIGHUP signal is received. + + * src/tinyproxy.h: + Removed the "logf" FILE structure from the config structure, and + also renamed the "log_rotation_request" boolean to + "received_sighup". + + * src/utils.c, src/utils.h: + Removed the rotate_log_files() function since I'm moving to an + Apache style where the _user_ needs to move the log file + themselves, and tinyproxy will continue to write to the original + name. This allows more flexibility for users to determine their + own log rotation scheme. + 2002-06-07 Robert James Kaes * src/filter.c, src/filter.h: -- cgit v1.2.3