浏览代码

shorten more of the startup log messages

svn:r5368
Roger Dingledine 20 年之前
父节点
当前提交
4ea6d71a26
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/or/main.c

+ 2 - 2
src/or/main.c

@@ -547,12 +547,12 @@ directory_info_has_arrived(time_t now, int from_cache)
   or_options_t *options = get_options();
 
   if (!router_have_minimum_dir_info()) {
-    notice(LD_DIR, "I learned some more directory information, but not enough to build a circuit.");
+    log(LOG_NOTICE, LD_DIR, "I learned some more directory information, but not enough to build a circuit.");
     return;
   }
 
   if (!has_fetched_directory) {
-    notice(LD_DIR, "We have enough directory information to build circuits.");
+    log(LOG_NOTICE, LD_DIR, "We have enough directory information to build circuits.");
   }
 
   has_fetched_directory=1;