From 7a446e6754b21eae1b0cfe3b0cf737ac2be964a9 Mon Sep 17 00:00:00 2001 From: Sebastian Hahn Date: Tue, 25 Jan 2011 13:16:28 +0100 Subject: [PATCH] Tell which geoip file we're parsing --- changes/bug2432 | 5 +++++ src/or/geoip.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 changes/bug2432 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)