what is logging "above" notice?

This commit is contained in:
Roger Dingledine 2013-10-01 08:55:57 -04:00
parent b484711a51
commit a980d844cd

View File

@ -1171,9 +1171,10 @@ options_act_reversible(const or_options_t *old_options, char **msg)
} }
if (get_min_log_level() >= LOG_INFO && if (get_min_log_level() >= LOG_INFO &&
get_min_log_level() != old_min_log_level) { get_min_log_level() != old_min_log_level) {
log_warn(LD_GENERAL, "Your log may contain sensitive information - you're " log_warn(LD_GENERAL, "Your log may contain sensitive information: you're "
"logging above \"notice\". Please log safely. Don't log unless " "logging more than \"notice\". Please log safely. Don't log "
"it serves an important reason. Overwrite the log afterwards."); "unless it serves an important reason, and overwrite the log "
"afterwards.");
} }
SMARTLIST_FOREACH(replaced_listeners, connection_t *, conn, SMARTLIST_FOREACH(replaced_listeners, connection_t *, conn,