summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Pasette <dan@10gen.com>2013-12-21 18:28:41 -0500
committerDan Pasette <dan@10mongodb.com>2013-12-21 18:28:41 -0500
commita8481e8f75464e5e570d415a00a98b6607d4cf54 (patch)
treeb44ded2c24b562226f494a1f911fbfef19bb21af
parentbd3553dff93786447130c242c274678f969cd513 (diff)
downloadmongo-a8481e8f75464e5e570d415a00a98b6607d4cf54.tar.gz
SERVER-11194 fix log message
-rw-r--r--src/mongo/db/ttl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/ttl.cpp b/src/mongo/db/ttl.cpp
index 55531724110..4019a550b2b 100644
--- a/src/mongo/db/ttl.cpp
+++ b/src/mongo/db/ttl.cpp
@@ -82,9 +82,9 @@ namespace mongo {
continue;
}
if (!idx[secondsExpireField].isNumber()) {
- log() << "ttl indexes require the " << secondsExpireField << " field to be "
+ error() << "ttl indexes require the " << secondsExpireField << " field to be "
<< "numeric but received a type of: "
- << typeName(idx[secondsExpireField].type());
+ << typeName(idx[secondsExpireField].type()) << endl;
continue;
}