Print only fatals

This commit is contained in:
Nikita Mikhaylov 2024-03-11 18:26:23 +00:00
parent 6b13fc9371
commit ff4ae13d9a

View File

@ -3019,7 +3019,7 @@ void ClientBase::init(int argc, char ** argv)
HandledSignals::instance().setupCommonDeadlySignalHandlers();
fatal_channel_ptr = new Poco::ConsoleChannel;
fatal_log = createLogger("ClientBase", fatal_channel_ptr.get(), Poco::Message::PRIO_TRACE);
fatal_log = createLogger("ClientBase", fatal_channel_ptr.get(), Poco::Message::PRIO_FATAL);
signal_listener = std::make_unique<SignalListener>(nullptr, fatal_log);
signal_listener_thread.start(*signal_listener);
}