diff options
author | Michael Adam <obnox@samba.org> | 2010-03-02 23:11:57 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2010-03-02 23:39:21 +0100 |
commit | cfa5792880a1eb729cb37fd90de1c273dc5c056f (patch) | |
tree | 59cc42f67d6aeed769169db888b91370cbdb5c0a /src | |
parent | f640c6fbb11ed233d93580e23966dd8bdc5ab88f (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); } |