Kaynağa Gözat

vidalia asks us for the value of the Group config option. but now
it's obsolete. which causes us to inform the user every time, even
though the user can't do anything about it other than get confused.

now it's an info-level log by default.


svn:r17206

Roger Dingledine 17 yıl önce
ebeveyn
işleme
bc128c0b03
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 3 3
      src/or/config.c

+ 3 - 3
src/or/config.c

@@ -1988,9 +1988,9 @@ get_assigned_option(config_format_t *fmt, or_options_t *options,
         result->value = tor_strdup("");
       break;
     case CONFIG_TYPE_OBSOLETE:
-      log_warn(LD_CONFIG,
-               "You asked me for the value of an obsolete config option '%s'.",
-               key);
+      log_fn(LOG_PROTOCOL_WARN, LD_CONFIG,
+             "You asked me for the value of an obsolete config option '%s'.",
+             key);
       tor_free(result->key);
       tor_free(result);
       return NULL;