logswan

Fast Web log analyzer using probabilistic data structures
Log | Files | Refs | README | LICENSE

commit 496824dd9ae2bacb7c500774fe15b03ee51af170
parent 1ba38a8fbbe210de08eb706b7e5be026733238c3
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date:   Sun, 20 Sep 2015 23:01:34 +0200

Now looking for GeoIP databases into '/usr/local/share/GeoIP'

Diffstat:
Msrc/logswan.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/logswan.c b/src/logswan.c @@ -97,8 +97,8 @@ int main (int argc, char *argv[]) { begin = clock(); /* Initializing GeoIP */ - geoip = GeoIP_open("GeoIP.dat", GEOIP_MEMORY_CACHE); - geoipv6 = GeoIP_open("GeoIPv6.dat", GEOIP_MEMORY_CACHE); + geoip = GeoIP_open("/usr/local/share/GeoIP/GeoIP.dat", GEOIP_MEMORY_CACHE); + geoipv6 = GeoIP_open("/usr/local/share/GeoIP/GeoIPv6.dat", GEOIP_MEMORY_CACHE); /* Get log file size */ stat(intputFile, &logFileSize);