relentless spam in debugger about dnsconfig

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

relentless spam in debugger about dnsconfig

Postby amol » Thu May 15, 2014 7:30 pm

[0515/172852:WARNING:dns_config_service_win.cc(653)] Failed to read DnsConfig.
[0515/172853:WARNING:dns_config_service_win.cc(653)] Failed to read DnsConfig.
[0515/172857:WARNING:dns_config_service_win.cc(653)] Failed to read DnsConfig.

how do I turn this off in a debug build of libcef ? it's incredibly annoying.

(windows 1650.1552)

thanks
amol
Techie
 
Posts: 19
Joined: Sat Jan 04, 2014 12:58 am

Re: relentless spam in debugger about dnsconfig

Postby gberman » Mon Apr 27, 2015 1:24 pm

We're seeing similar spamming with regard to the dnsconfig. The logging tends to generate very large files (over 2.5GB in some situations). The source indicates that if it fails to parse the dns config, it posts a new task every 5 seconds to retry:

LOG(WARNING) << "Failed to read DnsConfig.";
// Try again in a while in case DnsConfigWatcher missed the signal.
base::MessageLoop::current()->PostDelayedTask(
FROM_HERE,
base::Bind(&ConfigReader::WorkNow, this),
base::TimeDelta::FromSeconds(kRetryIntervalSeconds));
}
gberman
Newbie
 
Posts: 3
Joined: Tue Nov 19, 2013 5:09 pm

Re: relentless spam in debugger about dnsconfig

Postby magreenblatt » Wed Apr 29, 2015 1:29 pm

You can disable logging or change the log level to ERROR via CefSettings.log_severity. You can also file a bug at http://crbug.com to remove this message.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 83 guests