Log current op to console on crash

This commit is contained in:
Aaron
2009-03-03 16:10:42 -05:00
parent bab49f4951
commit 1839efb94d
4 changed files with 17 additions and 8 deletions

View File

@@ -26,7 +26,6 @@
#include "instance.h"
#include "lasterror.h"
#include "security.h"
#include "curop.h"
#include "json.h"
#include "reccache.h"
@@ -614,7 +613,7 @@ namespace mongo {
stringstream ss;
ss << "dbexit: " << why << endl;
rawOut( ss.str() );
stringstream ss2;
flushOpLog( ss2 );
rawOut( ss2.str() );