mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-27 00:35:23 +01:00
fixed testsuite crash due to wrong logger setup
This commit is contained in:
parent
15fa335343
commit
eb26a95682
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user