summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2001-12-23 22:00:36 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2001-12-23 22:00:36 +0000
commit831b00dc7ac3f7bff82142ed4aab133e8681d049 (patch)
tree160ddef783a1c664a70d5a236e9baa8fa0c9fe4f
parentc3124815a1f6a9bb441edd77633f4750d4f3c5b6 (diff)
downloadtinyproxy-831b00dc7ac3f7bff82142ed4aab133e8681d049.tar.gz
tinyproxy-831b00dc7ac3f7bff82142ed4aab133e8681d049.zip
Made the error message regarding the Idle timeout more verbose, and
changed the level to WARNING.
-rw-r--r--ChangeLog4
-rw-r--r--src/tinyproxy.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5d13189..3340388 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2001-12-23 Robert James Kaes <rjkaes@flarenet.com>
+ * src/tinyproxy.c (main): Made the error log for the idle time
+ setting more verbose so that it's explains the reasoning
+ better. Also, changed the level to WARNING.
+
* src/reqs.c (process_client_headers): Cleaned up the code to send
the Via header by using the write_message() function.
diff --git a/src/tinyproxy.c b/src/tinyproxy.c
index fe6fdfb..f5edb56 100644
--- a/src/tinyproxy.c
+++ b/src/tinyproxy.c
@@ -1,4 +1,4 @@
-/* $Id: tinyproxy.c,v 1.20 2001-12-15 06:02:16 rjkaes Exp $
+/* $Id: tinyproxy.c,v 1.21 2001-12-23 22:00:36 rjkaes Exp $
*
* The initialise routine. Basically sets up all the initial stuff (logfile,
* listening socket, config options, etc.) and then sits there and loops
@@ -313,7 +313,7 @@ main(int argc, char **argv)
"You SHOULD set a UserName in the configuration file. Using current user instead.");
}
if (config.idletimeout == 0) {
- log_message(LOG_INFO, "Setting idle timeout to %u seconds.",
+ log_message(LOG_WARNING, "Invalid idle time setting. Only values greater than zero allowed; therefore setting idle timeout to %u seconds.",
MAX_IDLE_TIME);
config.idletimeout = MAX_IDLE_TIME;
}