From 74b0b63da8628dd6ac8b7318efaa93ec7f193b6a Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 13 Jan 2010 00:21:39 +0100 Subject: conf: set default LogFile to LOCALSTATEDIR/log/tinyproxy.log Michael --- src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.c b/src/main.c index 64b5b7f..22cdf95 100644 --- a/src/main.c +++ b/src/main.c @@ -321,6 +321,7 @@ static void initialize_config_defaults (struct config_s *conf) conf->errorpages = NULL; conf->stathost = safestrdup (TINYPROXY_STATHOST); conf->idletimeout = MAX_IDLE_TIME; + conf->logf_name = safestrdup (LOCALSTATEDIR "/log/tinyproxy.log"); } /** -- cgit v1.2.3