]> git.ipfire.org Git - thirdparty/sarg.git/commitdiff
Changed default directory for the squid access.log.
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Thu, 27 Aug 2009 13:49:58 +0000 (13:49 +0000)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Thu, 27 Aug 2009 13:49:58 +0000 (13:49 +0000)
convlog.c
sarg.1
splitlog.c

index 5387af3933a9fe6c82871c369fe9898c44e5fd00..34ebd42f7fdd1cb043bd12bc902293ef85bd54a0 100644 (file)
--- a/convlog.c
+++ b/convlog.c
@@ -40,7 +40,7 @@ void convlog(const char *arq, char *df, int dfrom, int duntil)
    struct tm *t;
 
    if(arq[0] == '\0')
-      arq="/usr/local/squid/logs/access.log";
+      arq="/var/log/squid/access.log";
 
    if((fp_in=MY_FOPEN(arq,"r"))==NULL) {
       fprintf(stderr, "SARG: (convlog) %s: %s\n",text[8],arq);
diff --git a/sarg.1 b/sarg.1
index 10250e636706f94b3967422bee5d7e6ecbe4b2b3..d78ae26a9540e8830eaad05d49e581dc9ed9f3c9 100644 (file)
--- a/sarg.1
+++ b/sarg.1
@@ -133,7 +133,7 @@ Split the log file by date in \fB-d\fP parameter.
 .SH FILES
 .BR /usr/local/sarg/sarg.conf
 .br
-.B /usr/local/squid/logs/access.log
+.B /var/log/squid/access.log
 .br
 .B /usr/local/squidGuard/logs/squidGuard.log
 .SH SEE ALSO
index 96ba1a0d488a5119569728bb98fccd34ea434d60..155c830be543cb5ba8ebe3e8523725a89a04fbc5 100644 (file)
@@ -40,7 +40,7 @@ void splitlog(const char *arq, char *df, int dfrom, int duntil, char *convert)
    struct tm *t;
 
    if(arq[0] == '\0')
-      arq="/usr/local/squid/logs/access.log";
+      arq="/var/log/squid/access.log";
 
    if((fp_in=MY_FOPEN(arq,"r"))==NULL) {
       fprintf(stderr, "SARG: (splitlog) %s: %s\n",text[8],arq);