mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 03:12:43 +00:00
Print only fatals
This commit is contained in:
parent
6b13fc9371
commit
ff4ae13d9a
@ -3019,7 +3019,7 @@ void ClientBase::init(int argc, char ** argv)
|
|||||||
HandledSignals::instance().setupCommonDeadlySignalHandlers();
|
HandledSignals::instance().setupCommonDeadlySignalHandlers();
|
||||||
|
|
||||||
fatal_channel_ptr = new Poco::ConsoleChannel;
|
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 = std::make_unique<SignalListener>(nullptr, fatal_log);
|
||||||
signal_listener_thread.start(*signal_listener);
|
signal_listener_thread.start(*signal_listener);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user