diff options
author | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-25 17:23:38 +0000 |
---|---|---|
committer | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-25 17:23:38 +0000 |
commit | 8c6d4c92132c5b50afbc2880405cd857369f400d (patch) | |
tree | 780d52321a3e0fcd6c5cdae4551133a9b2d43085 /net/tools/flip_server | |
parent | 192fe9736d355adfa1b871ce9d8a838ac8a76a91 (diff) | |
download | chromium_src-8c6d4c92132c5b50afbc2880405cd857369f400d.zip chromium_src-8c6d4c92132c5b50afbc2880405cd857369f400d.tar.gz chromium_src-8c6d4c92132c5b50afbc2880405cd857369f400d.tar.bz2 |
LOG(INFO) tidying in net/
Some deletions, some to VLOG.
R=rsleevi@chromium.org
BUG=322805
Review URL: https://codereview.chromium.org/82913011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237095 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/tools/flip_server')
-rw-r--r-- | net/tools/flip_server/flip_in_mem_edsm_server.cc | 26 | ||||
-rw-r--r-- | net/tools/flip_server/loadtime_measurement.h | 2 | ||||
-rw-r--r-- | net/tools/flip_server/mem_cache.cc | 4 | ||||
-rw-r--r-- | net/tools/flip_server/streamer_interface.cc | 4 |
4 files changed, 18 insertions, 18 deletions
diff --git a/net/tools/flip_server/flip_in_mem_edsm_server.cc b/net/tools/flip_server/flip_in_mem_edsm_server.cc index 79f3e5b..3639807 100644 --- a/net/tools/flip_server/flip_in_mem_edsm_server.cc +++ b/net/tools/flip_server/flip_in_mem_edsm_server.cc @@ -275,26 +275,26 @@ int main (int argc, char**argv) settings.lock_log = logging::DONT_LOCK_LOG_FILE; logging::InitLogging(settings); - LOG(INFO) << "Flip SPDY proxy started with configuration:"; - LOG(INFO) << "Logging destination : " << g_proxy_config.log_destination_; - LOG(INFO) << "Log file : " << g_proxy_config.log_filename_; - LOG(INFO) << "Forward IP Header : " + VLOG(0) << "Flip SPDY proxy started with configuration:"; + VLOG(0) << "Logging destination : " << g_proxy_config.log_destination_; + VLOG(0) << "Log file : " << g_proxy_config.log_filename_; + VLOG(0) << "Forward IP Header : " << (net::SpdySM::forward_ip_header().length() ? net::SpdySM::forward_ip_header() : "<disabled>"); - LOG(INFO) << "Wait for interfaces : " << (wait_for_iface?"true":"false"); - LOG(INFO) << "Accept backlog size : " << FLAGS_accept_backlog_size; - LOG(INFO) << "Accepts per wake : " << FLAGS_accepts_per_wake; - LOG(INFO) << "Disable nagle : " + VLOG(0) << "Wait for interfaces : " << (wait_for_iface?"true":"false"); + VLOG(0) << "Accept backlog size : " << FLAGS_accept_backlog_size; + VLOG(0) << "Accepts per wake : " << FLAGS_accepts_per_wake; + VLOG(0) << "Disable nagle : " << (FLAGS_disable_nagle?"true":"false"); - LOG(INFO) << "Reuseport : " + VLOG(0) << "Reuseport : " << (FLAGS_reuseport?"true":"false"); - LOG(INFO) << "Force SPDY : " + VLOG(0) << "Force SPDY : " << (FLAGS_force_spdy?"true":"false"); - LOG(INFO) << "SSL session expiry : " + VLOG(0) << "SSL session expiry : " << g_proxy_config.ssl_session_expiry_; - LOG(INFO) << "SSL disable compression : " + VLOG(0) << "SSL disable compression : " << g_proxy_config.ssl_disable_compression_; - LOG(INFO) << "Connection idle timeout : " + VLOG(0) << "Connection idle timeout : " << g_proxy_config.idle_socket_timeout_s_; // Proxy Acceptors diff --git a/net/tools/flip_server/loadtime_measurement.h b/net/tools/flip_server/loadtime_measurement.h index b46217e..6cf9e50 100644 --- a/net/tools/flip_server/loadtime_measurement.h +++ b/net/tools/flip_server/loadtime_measurement.h @@ -61,7 +61,7 @@ class LoadtimeMeasurement { if (action.find("test_complete") == 0) { for (std::map<std::string, int>::const_iterator it = loadtimes_.begin(); it != loadtimes_.end(); ++it) { - LOG(INFO) << it->first << " " << it->second; + VLOG(0) << it->first << " " << it->second; } loadtimes_.clear(); output.append("OK"); diff --git a/net/tools/flip_server/mem_cache.cc b/net/tools/flip_server/mem_cache.cc index 42d9343..d87c086 100644 --- a/net/tools/flip_server/mem_cache.cc +++ b/net/tools/flip_server/mem_cache.cc @@ -160,7 +160,7 @@ void MemoryCache::ReadAndStoreFileContents(const char* filename) { LOG(ERROR) << "Unable to make forward progress, or error" " framing file: " << filename; if (framer.Error()) { - LOG(INFO) << "********************************************ERROR!"; + VLOG(0) << "********************************************ERROR!"; return; } return; @@ -196,7 +196,7 @@ void MemoryCache::ReadAndStoreFileContents(const char* filename) { DCHECK_EQ(std::string(filename).substr(0, cwd_.size()), cwd_); DCHECK_EQ(filename[cwd_.size()], '/'); std::string filename_stripped = std::string(filename).substr(cwd_.size() + 1); - LOG(INFO) << "Adding file (" << visitor.body.length() << " bytes): " + VLOG(0) << "Adding file (" << visitor.body.length() << " bytes): " << filename_stripped; size_t slash_pos = filename_stripped.find('/'); if (slash_pos == std::string::npos) { diff --git a/net/tools/flip_server/streamer_interface.cc b/net/tools/flip_server/streamer_interface.cc index 8c2e0e7..ce8a3d7 100644 --- a/net/tools/flip_server/streamer_interface.cc +++ b/net/tools/flip_server/streamer_interface.cc @@ -173,11 +173,11 @@ void StreamerSM::ProcessHeaders(const BalsaHeaders& headers) { BalsaHeaders mod_headers; mod_headers.CopyFrom(headers); if (forward_ip_header_.length()) { - LOG(INFO) << "Adding forward header: " << forward_ip_header_; + VLOG(0) << "Adding forward header: " << forward_ip_header_; mod_headers.ReplaceOrAppendHeader(forward_ip_header_, connection_->client_ip()); } else { - LOG(INFO) << "NOT adding forward header."; + VLOG(0) << "NOT adding forward header."; } SimpleBuffer sb; char* buffer; |