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"); } /**