diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 3087c0cb71..89b4d1d2d4 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -1288,6 +1288,8 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo // Needs to happen AFTER the render engine initialization to access its configuration initializeUi(); + updateVerboseLogging(); + init(); qCDebug(interfaceapp, "init() complete."); @@ -1426,9 +1428,6 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo _overlays.init(); // do this before scripts load DependencyManager::set(); - // adjust which logging categories will be sent to the logs - updateVerboseLogging(); - // Make sure we don't time out during slow operations at startup updateHeartbeat(); @@ -2162,9 +2161,6 @@ void Application::updateVerboseLogging() { const_cast(&scriptengine())->setEnabled(QtDebugMsg, enable); const_cast(&scriptengine())->setEnabled(QtInfoMsg, enable); - const_cast(&scriptengine())->setEnabled(QtDebugMsg, enable); - const_cast(&scriptengine())->setEnabled(QtInfoMsg, enable); - const_cast(&modelformat())->setEnabled(QtDebugMsg, enable); const_cast(&modelformat())->setEnabled(QtInfoMsg, enable);