mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Use strsignal.
This commit is contained in:
parent
47738615e6
commit
1879ac4477
@ -174,7 +174,10 @@ public:
|
||||
{
|
||||
int sig = 0;
|
||||
DB::readBinary(sig, in);
|
||||
LOG_TRACE(log, "Received signal " << sig);
|
||||
// We may log some specific signals afterwards, with different log
|
||||
// levels and more info, but for completeness we log all signals
|
||||
// here at trace level.
|
||||
LOG_TRACE(log, "Received signal " << strsignal(sig) << " (" << sig << ")");
|
||||
|
||||
if (sig == Signals::StopThread)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user