diff --git a/test/testpermissions.cpp b/test/testpermissions.cpp index ce9c3c9acdf7a..5b2a461ded476 100644 --- a/test/testpermissions.cpp +++ b/test/testpermissions.cpp @@ -69,7 +69,8 @@ class TestPermissions : public QObject private slots: void initTestCase() { - OCC::Logger::instance()->setLogDebug(true); + Logger::instance()->setLogFlush(true); + Logger::instance()->setLogDebug(true); } void t7pl()