summaryrefslogtreecommitdiffstats
path: root/net/tools/epoll_server
diff options
context:
space:
mode:
authorscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-25 17:23:38 +0000
committerscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-25 17:23:38 +0000
commit8c6d4c92132c5b50afbc2880405cd857369f400d (patch)
tree780d52321a3e0fcd6c5cdae4551133a9b2d43085 /net/tools/epoll_server
parent192fe9736d355adfa1b871ce9d8a838ac8a76a91 (diff)
downloadchromium_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/epoll_server')
-rw-r--r--net/tools/epoll_server/epoll_server.cc4
-rw-r--r--net/tools/epoll_server/epoll_server.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/net/tools/epoll_server/epoll_server.cc b/net/tools/epoll_server/epoll_server.cc
index a382dba..be1bcbaa 100644
--- a/net/tools/epoll_server/epoll_server.cc
+++ b/net/tools/epoll_server/epoll_server.cc
@@ -147,7 +147,7 @@ EpollServer::~EpollServer() {
DCHECK_EQ(in_shutdown_, false);
in_shutdown_ = true;
#ifdef EPOLL_SERVER_EVENT_TRACING
- LOG(INFO) << "\n" << event_recorder_;
+ VLOG(0) << "\n" << event_recorder_;
#endif
VLOG(2) << "Shutting down epoll server ";
CleanupFDToCBMap();
@@ -635,7 +635,7 @@ void EpollServer::WaitForEventsAndCallHandleEvents(int64 timeout_in_us,
// If ready list is not empty, then don't sleep at all.
timeout_in_us = 0;
} else if (timeout_in_us < 0) {
- LOG(INFO) << "Negative epoll timeout: " << timeout_in_us
+ VLOG(0) << "Negative epoll timeout: " << timeout_in_us
<< "us; epoll will wait forever for events.";
// If timeout_in_us is < 0 we are supposed to Wait forever. This means we
// should set timeout_in_us to -1000 so we will
diff --git a/net/tools/epoll_server/epoll_server.h b/net/tools/epoll_server/epoll_server.h
index 8822450..d167a97 100644
--- a/net/tools/epoll_server/epoll_server.h
+++ b/net/tools/epoll_server/epoll_server.h
@@ -720,10 +720,10 @@ class EpollServer {
// When a number of events equals the record threshold,
// the collected data summary for all FDs will be written
- // to LOG(INFO). Note that this does not include the
+ // to VLOG(0). Note that this does not include the
// individual events (if you'reinterested in those, you'll
// have to get at them programmatically).
- // After any such flushing to LOG(INFO) all events will
+ // After any such flushing to VLOG(0) all events will
// be cleared.
// Note that the definition of an 'event' is a bit 'hazy',
// as it includes the 'Unregistration' event, and perhaps
@@ -745,7 +745,7 @@ class EpollServer {
++num_records_;
if ((num_records_ > record_threshold_) &&
(record_threshold_ > 0)) {
- LOG(INFO) << "\n" << *this;
+ VLOG(0) << "\n" << *this;
num_records_ = 0;
Clear();
}