[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] make the addressmap internals less noisy



Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or

Modified Files:
	connection_edge.c 
Log Message:
make the addressmap internals less noisy


Index: connection_edge.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/connection_edge.c,v
retrieving revision 1.279
retrieving revision 1.280
diff -u -d -r1.279 -r1.280
--- connection_edge.c	22 Feb 2005 00:53:07 -0000	1.279
+++ connection_edge.c	22 Feb 2005 00:55:50 -0000	1.280
@@ -375,7 +375,7 @@
                               addressmap_entry_t *ent,
                               time_t *nowp) {
   if (ent->expires && ent->expires < *nowp) {
-    log(LOG_NOTICE, "Addressmap: expiring remap (%s to %s)",
+    log(LOG_INFO, "Addressmap: expiring remap (%s to %s)",
            addr, ent->new_address);
     addressmap_ent_free(ent);
     return NULL;
@@ -413,7 +413,7 @@
     if (!ent || !ent->new_address)
       return; /* done, no rewrite needed */
 
-    log_fn(LOG_NOTICE, "Addressmap: rewriting '%s' to '%s'",
+    log_fn(LOG_INFO, "Addressmap: rewriting '%s' to '%s'",
            address, ent->new_address);
     strlcpy(address, ent->new_address, maxlen);
   }
@@ -438,7 +438,7 @@
 
   ent = strmap_get(addressmap, address);
   if (ent && ent->new_address && expires) {
-    log_fn(LOG_NOTICE,"Addressmap ('%s' to '%s') not performed, since it's already mapped to '%s'", address, new_address, ent->new_address);
+    log_fn(LOG_INFO,"Addressmap ('%s' to '%s') not performed, since it's already mapped to '%s'", address, new_address, ent->new_address);
     tor_free(new_address);
     return;
   }
@@ -452,7 +452,7 @@
   ent->expires = expires;
   ent->num_resolve_failures = 0;
 
-  log_fn(LOG_NOTICE, "Addressmap: (re)mapped '%s' to '%s'",
+  log_fn(LOG_INFO, "Addressmap: (re)mapped '%s' to '%s'",
          address, ent->new_address);
 }
 
@@ -470,7 +470,7 @@
     strmap_set(addressmap,address,ent);
   }
   ++ent->num_resolve_failures;
-  log_fn(LOG_NOTICE,"Address %s now has %d resolve failures.",
+  log_fn(LOG_INFO,"Address %s now has %d resolve failures.",
          address, ent->num_resolve_failures);
   return ent->num_resolve_failures;
 }