summaryrefslogtreecommitdiff
path: root/db/repl.cpp
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2009-01-15 11:26:38 -0500
committerAaron <aaron@10gen.com>2009-01-15 11:26:38 -0500
commit261a467aa50cf6c733c89d2e299a8dd63b569750 (patch)
treeb6188ac5f04e08940762b2f9bdbf7fcd02caac24 /db/repl.cpp
parent90d45238aa5fccb6dbdf0b40dfcf5823695d4643 (diff)
downloadmongo-261a467aa50cf6c733c89d2e299a8dd63b569750.tar.gz
Replaced our #defined cout with mongo::out()
Diffstat (limited to 'db/repl.cpp')
-rw-r--r--db/repl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/db/repl.cpp b/db/repl.cpp
index 725d1152090..9a649d812de 100644
--- a/db/repl.cpp
+++ b/db/repl.cpp
@@ -948,7 +948,7 @@ namespace mongo {
*p = EOO;
//BSONObj temp(r);
- //cout << "temp:" << temp.toString() << endl;
+ //out() << "temp:" << temp.toString() << endl;
database = oldClient;
}
@@ -1025,7 +1025,7 @@ namespace mongo {
try {
s = _replMain(sources);
} catch (...) {
- cout << "TEMP: caught exception in _replMain" << endl;
+ out() << "TEMP: caught exception in _replMain" << endl;
}
{
dblock lk;
@@ -1127,7 +1127,7 @@ namespace mongo {
void tempThread() {
while ( 1 ) {
- cout << dbMutexInfo.isLocked() << endl;
+ out() << dbMutexInfo.isLocked() << endl;
sleepmillis(100);
}
}