From: Sebastian Hahn Date: Tue, 25 Jan 2011 12:16:28 +0000 (+0100) Subject: Tell which geoip file we're parsing X-Git-Tag: tor-0.2.2.22-alpha~1^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7a446e6754b21eae1b0cfe3b0cf737ac2be964a9;p=thirdparty%2Ftor.git Tell which geoip file we're parsing --- diff --git a/changes/bug2432 b/changes/bug2432 new file mode 100644 index 0000000000..407c56ba9f --- /dev/null +++ b/changes/bug2432 @@ -0,0 +1,5 @@ + o Minor features: + - Provide a log message stating which geoip file we're parsing + instead of just stating that we're parsing the geoip file. + Implements ticket 2432. + diff --git a/src/or/geoip.c b/src/or/geoip.c index d4e279f538..e5694b9618 100644 --- a/src/or/geoip.c +++ b/src/or/geoip.c @@ -214,7 +214,7 @@ geoip_load_file(const char *filename, or_options_t *options) smartlist_free(geoip_entries); } geoip_entries = smartlist_create(); - log_notice(LD_GENERAL, "Parsing GEOIP file."); + log_notice(LD_GENERAL, "Parsing GEOIP file %s.", filename); while (!feof(f)) { char buf[512]; if (fgets(buf, (int)sizeof(buf), f) == NULL)