summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-01-13 00:21:39 +0100
committerMichael Adam <obnox@samba.org>2010-01-13 00:21:39 +0100
commit74b0b63da8628dd6ac8b7318efaa93ec7f193b6a (patch)
treec3678310f7776af364ccedf391aaccaa7f98aca6
parentfb07cb380c1451a3e9a1267dee2c8d8b135ea558 (diff)
downloadtinyproxy-74b0b63da8628dd6ac8b7318efaa93ec7f193b6a.tar.gz
tinyproxy-74b0b63da8628dd6ac8b7318efaa93ec7f193b6a.zip
conf: set default LogFile to LOCALSTATEDIR/log/tinyproxy.log
Michael
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
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");
}
/**