Add log output for master and slave modes so we are sure at startup

This commit is contained in:
Geir Magnusson Jr
2008-07-31 08:01:51 -04:00
parent cf2d786015
commit 22285ede9a

View File

@@ -787,7 +787,8 @@ void initAndListen(int listenPort, const char *dbPath, const char *appserverLoc
int pid=0;
#endif
log() << "Mongo DB : starting : pid = " << pid << " port = " << port << " dbpath = " << dbpath << endl;
log() << "Mongo DB : starting : pid = " << pid << " port = " << port << " dbpath = " << dbpath
<< " master = " << master << " slave = " << slave << endl;
if( useJNI ) {
JavaJS = new JavaJSImpl(appserverLoc);