From 8662f18102bfea591b1cf1d3b69329f9144b0620 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 17 Jan 2007 00:14:43 +0000 Subject: boots and suspenders, or whatever the idiom is svn:r9365 --- src/or/dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/dns.c') diff --git a/src/or/dns.c b/src/or/dns.c index 89d8b1d96..ea1df1ac4 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -195,7 +195,7 @@ evdns_log_cb(int warn, const char *msg) } else if (!strcmpstart(msg, "Nameserver ") && (cp=strstr(msg, " is back up"))) { char *ns = tor_strndup(msg+11, cp-(msg+11)); - severity = all_down ? LOG_NOTICE : LOG_INFO; + severity = (all_down && warn) ? LOG_NOTICE : LOG_INFO; all_down = 0; control_event_server_status(LOG_NOTICE, "NAMESERVER_STATUS NS=%s STATUS=UP", ns); -- cgit v1.2.3