summaryrefslogtreecommitdiff
path: root/src/mongo/util/net/listen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/net/listen.cpp')
-rw-r--r--src/mongo/util/net/listen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/util/net/listen.cpp b/src/mongo/util/net/listen.cpp
index 0d77a744bfa..f22d7f0ff03 100644
--- a/src/mongo/util/net/listen.cpp
+++ b/src/mongo/util/net/listen.cpp
@@ -1,4 +1,4 @@
-// listen.h
+// listen.cpp
/* Copyright 2009 10gen Inc.
*
@@ -368,7 +368,7 @@ namespace mongo {
int max = (int)(limit.rlim_cur * .8);
- log(1) << "fd limit"
+ LOG(1) << "fd limit"
<< " hard:" << limit.rlim_max
<< " soft:" << limit.rlim_cur
<< " max conn: " << max
@@ -388,7 +388,7 @@ namespace mongo {
if ( current < want ) {
// they want fewer than they can handle
// which is fine
- log(1) << " only allowing " << current << " connections" << endl;
+ LOG(1) << " only allowing " << current << " connections" << endl;
return;
}
if ( current > want ) {