* Ensure 100% that DB logging is enabled/disabled as expected.
--HG-- branch : trunk
This commit is contained in:
@@ -187,6 +187,7 @@ extern int main(int argc, char **argv)
|
||||
{
|
||||
// everything successful - set var to enable DB logging once startup finished.
|
||||
sLog.SetLogDBLater(true);
|
||||
sLog.SetLogDB(false);
|
||||
// ensure we've set realm to 0 (realmd realmid)
|
||||
sLog.SetRealmID(0);
|
||||
}
|
||||
@@ -271,6 +272,11 @@ extern int main(int argc, char **argv)
|
||||
// login db needs thread for logging
|
||||
sLog.SetLogDB(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
sLog.SetLogDB(false);
|
||||
sLog.SetLogDBLater(false);
|
||||
}
|
||||
|
||||
///- Wait for termination signal
|
||||
while (!stopEvent)
|
||||
|
||||
Reference in New Issue
Block a user