Downgrade "Registered server transport" msg to notice. Bug 5136

This commit is contained in:
Nick Mathewson 2012-02-15 12:58:36 -05:00
parent 19b4df0d46
commit 936b7b7b0b

View File

@ -495,9 +495,7 @@ register_server_proxy(managed_proxy_t *mp)
tor_assert(mp->conf_state != PT_PROTO_COMPLETED); tor_assert(mp->conf_state != PT_PROTO_COMPLETED);
SMARTLIST_FOREACH_BEGIN(mp->transports, transport_t *, t) { SMARTLIST_FOREACH_BEGIN(mp->transports, transport_t *, t) {
save_transport_to_state(t->name, &t->addr, t->port); save_transport_to_state(t->name, &t->addr, t->port);
/* LOG_WARN so that the bridge operator can easily find the log_notice(LD_GENERAL, "Registered server transport '%s' at '%s:%d'",
transport's port in the log file and send it to the users. */
log_warn(LD_GENERAL, "Registered server transport '%s' at '%s:%d'",
t->name, fmt_addr(&t->addr), (int)t->port); t->name, fmt_addr(&t->addr), (int)t->port);
smartlist_add(sm_tmp, tor_strdup(t->name)); smartlist_add(sm_tmp, tor_strdup(t->name));
} SMARTLIST_FOREACH_END(t); } SMARTLIST_FOREACH_END(t);