mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
what is logging "above" notice?
This commit is contained in:
parent
b484711a51
commit
a980d844cd
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user