From 3406d09ecf682356c7be7c107aa4211c606eeb95 Mon Sep 17 00:00:00 2001 From: Johannes Helmold Date: Mon, 29 Apr 2024 09:35:19 +0200 Subject: [PATCH] Change: Raised log level for output of backtrace for signal handler. --- src/gvmd.c | 4 ++-- src/manage_sql.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gvmd.c b/src/gvmd.c index 8a35f3a3c..cd567a30c 100644 --- a/src/gvmd.c +++ b/src/gvmd.c @@ -999,7 +999,7 @@ handle_sigabrt (int given_signal) frame_count = 0; } for (index = 0; index < frame_count; index++) - g_debug ("BACKTRACE: %s", frames_text[index]); + g_message ("BACKTRACE: %s", frames_text[index]); free (frames_text); manage_cleanup_process_error (given_signal); @@ -1043,7 +1043,7 @@ handle_sigsegv (/* unused */ int given_signal) frame_count = 0; } for (index = 0; index < frame_count; index++) - g_debug ("BACKTRACE: %s", frames_text[index]); + g_message ("BACKTRACE: %s", frames_text[index]); free (frames_text); manage_cleanup_process_error (given_signal); diff --git a/src/manage_sql.c b/src/manage_sql.c index 445a83a38..6a7d56631 100644 --- a/src/manage_sql.c +++ b/src/manage_sql.c @@ -17133,12 +17133,12 @@ cleanup_manage_process (gboolean cleanup) void manage_cleanup_process_error (int signal) { - g_debug ("Received %s signal", strsignal (signal)); + g_message ("Received %s signal", strsignal (signal)); if (sql_is_open ()) { if (current_scanner_task) { - g_warning ("%s: Error exit, setting running task to Interrupted", + g_message ("%s: Error exit, setting running task to Interrupted", __func__); set_task_interrupted (current_scanner_task, "Error exit, setting running task to"