Skip to content
Browse files

better logging

  • Loading branch information...
1 parent 5a99b00 commit 5b17695af78298980412e2902ea0aaf86343fb77 @erh erh committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 db/pdfile.cpp
View
2 db/pdfile.cpp
@@ -1635,7 +1635,7 @@ namespace mongo {
string s = e.toString();
s += " : on addIndex/capped - collection and its index will not match";
uassert_nothrow(s.c_str());
- log() << s << '\n';
+ error() << s << endl;
}
else {
// normal case -- we can roll back

0 comments on commit 5b17695

Please sign in to comment.
Something went wrong with that request. Please try again.