change the default log file location to "@LOCALSTATEDIR@/log/tinyproxy/tinyproxy.log"

i.e. add a tinyproxy subdirectory.
This is meant to ease running tinyproxy as non-root user
the subdirectory can be used to give the tinyproxy user
write permission.

Michael
This commit is contained in:
Michael Adam committed 2010-03-02 23:39:21 +01:00
1 parent f640c6fbb1
commit cfa5792880
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -345,7 +345,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");
conf->logf_name = safestrdup (LOCALSTATEDIR "/log/tinyproxy/tinyproxy.log");
conf->pidpath = safestrdup (LOCALSTATEDIR "/run/tinyproxy.pid");
}