SARG Squid Analysis Report Generator (formerly sqmgrlog) is a tool that allow you to view "where" your users are going to on the Internet. SARG generate reports in HTML showing users, IP addresses, bytes, sites, and times.
13 lines
430 B
Text
13 lines
430 B
Text
$NetBSD: patch-ab,v 1.1.1.1 2003/12/04 16:06:32 xtraeme Exp $
|
|
|
|
--- convlog.c.orig 2003-04-25 20:20:55.000000000 +0300
|
|
+++ convlog.c
|
|
@@ -19,7 +19,7 @@ void convlog(char *arq, char *df, int df
|
|
struct tm *t;
|
|
|
|
if(arq[0] == '\0')
|
|
- strcpy(arq,"/usr/local/squid/logs/access.log");
|
|
+ strcpy(arq,SQUID_ACCESSLOG);
|
|
|
|
if((fp_in=fopen(arq,"r"))==NULL) {
|
|
fprintf(stderr, "SARG: (convlog) %s: %s\n",text[8],arq);
|