diff options
author | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-06 00:48:37 +0000 |
---|---|---|
committer | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-06 00:48:37 +0000 |
commit | 3dfd29f24dbb3aa799589c7ff3d053f287776db0 (patch) | |
tree | 25d8648064b504fc15fa6ace06fd6c9f85eedcda /net/proxy/proxy_service.cc | |
parent | baff44adc034cbbc68e159d1645580ee5fa7f76f (diff) | |
download | chromium_src-3dfd29f24dbb3aa799589c7ff3d053f287776db0.zip chromium_src-3dfd29f24dbb3aa799589c7ff3d053f287776db0.tar.gz chromium_src-3dfd29f24dbb3aa799589c7ff3d053f287776db0.tar.bz2 |
Aesthetic changes to the proxy configuration log format.
Also in this change, I stop brodacasting the proxy settings changes to LOG(INFO) --- This is because navigating to "view-net-internal:proxyservice.config" offers a better solution, so no point polluting the log file.
Note that the format change is intended to make the string more succint and human readable. For example, here is a before and after comparison:
------------
New version:
------------
Automatic settings:
Auto-detect: No
Custom PAC script: [None]
Manual settings:
Proxy server: [None]
Bypass list: [None]
Bypass local names: No
------------
Old version:
------------
{
auto_detect: 0
pac_url:
proxy_rules:
{
type: TYPE_NO_RULES
single_proxy:
proxy_for_http:
proxy_for_https:
proxy_for_ftp:
socks_proxy:
}
proxy_bypass_local_names: 0
proxy_bypass_list:
id: 1
}
BUG=http://crbug.com/14478
TEST=ProxyConfigTest.ToString
Review URL: http://codereview.chromium.org/198039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25584 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_service.cc')
-rw-r--r-- | net/proxy/proxy_service.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/proxy/proxy_service.cc b/net/proxy/proxy_service.cc index 975b7df..46509c2 100644 --- a/net/proxy/proxy_service.cc +++ b/net/proxy/proxy_service.cc @@ -608,8 +608,6 @@ void ProxyService::SetConfig(const ProxyConfig& config) { // Increment the ID to reflect that the config has changed. config_.set_id(next_config_id_++); - LOG(INFO) << "New proxy configuration was loaded:\n" << config_; - // Reset state associated with latest config. config_is_bad_ = false; proxy_retry_info_.clear(); |