1
0
Fork 0

Reduce the default log-level for the launcher.

This commit is contained in:
James Turner 2020-09-14 11:05:32 +01:00
parent cae06a79b7
commit 3a69e20248

View file

@ -548,9 +548,7 @@ static void logToHome(const std::string& pri)
// Main top level initialization // Main top level initialization
int fgMainInit( int argc, char **argv ) int fgMainInit( int argc, char **argv )
{ {
// set default log level to 'info' for startup, we will revert to a lower sglog().setLogLevels( SG_ALL, SG_WARN );
// level once startup is done.
sglog().setLogLevels( SG_ALL, SG_INFO );
sglog().setStartupLoggingEnabled(true); sglog().setStartupLoggingEnabled(true);
globals = new FGGlobals; globals = new FGGlobals;