fixed testsuite crash due to wrong logger setup

This commit is contained in:
Günter Obiltschnig 2020-01-22 11:08:24 +01:00
parent 15fa335343
commit eb26a95682

View File

@ -2440,7 +2440,7 @@ void SQLiteTest::testSQLLogger()
{
AutoPtr<SQLChannel> pChannel = new SQLChannel(Poco::Data::SQLite::Connector::KEY, "dummy.db", "TestSQLChannel");
Logger& root = Logger::root();
root.setChannel(pChannel.get());
root.setChannel(pChannel);
root.setLevel(Message::PRIO_INFORMATION);
root.information("Informational message");