Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

better logging

  • Loading branch information...
commit 5b17695af78298980412e2902ea0aaf86343fb77 1 parent 5a99b00
Eliot authored October 24, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  db/pdfile.cpp
2  db/pdfile.cpp
@@ -1635,7 +1635,7 @@ namespace mongo {
1635 1635
                     string s = e.toString();
1636 1636
                     s += " : on addIndex/capped - collection and its index will not match";
1637 1637
                     uassert_nothrow(s.c_str());
1638  
-                    log() << s << '\n';
  1638
+                    error() << s << endl;
1639 1639
                 }
1640 1640
                 else { 
1641 1641
                     // normal case -- we can roll back

0 notes on commit 5b17695

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