diff options
author | Saturneric <[email protected]> | 2023-02-11 14:10:09 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2023-02-11 14:10:09 +0000 |
commit | 6a75817c85b0d4a97cea82ad2331736cff9913cf (patch) | |
tree | 261b01c4dc55a28241694a5e292d9fc5c77b6319 /src/signal.cpp | |
parent | feat: upgrade qt framework to 6.3 (diff) | |
download | GpgFrontend-6a75817c85b0d4a97cea82ad2331736cff9913cf.tar.gz GpgFrontend-6a75817c85b0d4a97cea82ad2331736cff9913cf.zip |
fix: reduce info level logs
Diffstat (limited to 'src/signal.cpp')
-rw-r--r-- | src/signal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/signal.cpp b/src/signal.cpp index 424b97d5..09ac48c0 100644 --- a/src/signal.cpp +++ b/src/signal.cpp @@ -43,7 +43,7 @@ extern jmp_buf recover_env; */ void handle_signal(int sig) { static int _repeat_handle_num = 1, last_sig = sig; - SPDLOG_INFO("signal caught {}", sig); + SPDLOG_DEBUG("signal caught {}", sig); if (last_sig == sig) _repeat_handle_num++; @@ -51,7 +51,7 @@ void handle_signal(int sig) { _repeat_handle_num = 1, last_sig = sig; if (_repeat_handle_num > 3) { - SPDLOG_INFO( + SPDLOG_DEBUG( "The same signal appears three times, execute the termination " "operation. "); exit(-1); |