Skip to content

Commit

Permalink
Change: Raised log level for output of backtrace for signal handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhelmold authored and timopollmeier committed Apr 29, 2024
1 parent e04b09c commit 3406d09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/gvmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions src/manage_sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3406d09

Please sign in to comment.