diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2011-01-25 13:16:28 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-01-25 15:54:51 -0500 |
commit | 7a446e6754b21eae1b0cfe3b0cf737ac2be964a9 (patch) | |
tree | 07378139d64354b4a798c6f6153dc1c3ab6d048d | |
parent | 68f8ca357fa98e7a2ed4ab45e4b982ea2ca370c8 (diff) | |
download | tor-7a446e6754b21eae1b0cfe3b0cf737ac2be964a9.tar.gz tor-7a446e6754b21eae1b0cfe3b0cf737ac2be964a9.zip |
Tell which geoip file we're parsing
-rw-r--r-- | changes/bug2432 | 5 | ||||
-rw-r--r-- | src/or/geoip.c | 2 |
2 files changed, 6 insertions, 1 deletions
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) |