Browse Source

Tell which geoip file we're parsing

Sebastian Hahn 13 years ago
parent
commit
7a446e6754
2 changed files with 6 additions and 1 deletions
  1. 5 0
      changes/bug2432
  2. 1 1
      src/or/geoip.c

+ 5 - 0
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.
+

+ 1 - 1
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)