@@ -89,7 +89,7 @@ startup_inproc_backend(
89
89
stack_t old_sig_stack ;
90
90
int ret = sigaltstack (NULL , & old_sig_stack );
91
91
if (ret == 0 && old_sig_stack .ss_flags == SS_DISABLE ) {
92
- SENTRY_TRACEF ("installing signal stack (size: %d)" , SIGNAL_STACK_SIZE );
92
+ SENTRY_DEBUGF ("installing signal stack (size: %d)" , SIGNAL_STACK_SIZE );
93
93
g_signal_stack .ss_sp = sentry_malloc (SIGNAL_STACK_SIZE );
94
94
if (!g_signal_stack .ss_sp ) {
95
95
return 1 ;
@@ -98,7 +98,7 @@ startup_inproc_backend(
98
98
g_signal_stack .ss_flags = 0 ;
99
99
sigaltstack (& g_signal_stack , 0 );
100
100
} else if (ret == 0 ) {
101
- SENTRY_TRACEF ("using existing signal stack (size: %d, flags: %d)" ,
101
+ SENTRY_DEBUGF ("using existing signal stack (size: %d, flags: %d)" ,
102
102
old_sig_stack .ss_size , old_sig_stack .ss_flags );
103
103
} else if (ret == -1 ) {
104
104
SENTRY_WARNF ("Failed to query signal stack size: %s" , strerror (errno ));
@@ -485,15 +485,15 @@ make_signal_event(
485
485
void * backtrace [MAX_FRAMES ];
486
486
size_t frame_count
487
487
= sentry_unwind_stack_from_ucontext (uctx , & backtrace [0 ], MAX_FRAMES );
488
- SENTRY_TRACEF (
488
+ SENTRY_DEBUGF (
489
489
"captured backtrace from ucontext with %lu frames" , frame_count );
490
490
// if unwinding from a ucontext didn't yield any results, try again with a
491
491
// direct unwind. this is most likely the case when using `libbacktrace`,
492
492
// since that does not allow to unwind from a ucontext at all.
493
493
if (!frame_count ) {
494
494
frame_count = sentry_unwind_stack (NULL , & backtrace [0 ], MAX_FRAMES );
495
495
}
496
- SENTRY_TRACEF ("captured backtrace with %lu frames" , frame_count );
496
+ SENTRY_DEBUGF ("captured backtrace with %lu frames" , frame_count );
497
497
498
498
sentry_value_t stacktrace
499
499
= sentry_value_new_stacktrace (& backtrace [0 ], frame_count );
@@ -518,7 +518,7 @@ make_signal_event(
518
518
static void
519
519
handle_ucontext (const sentry_ucontext_t * uctx )
520
520
{
521
- SENTRY_DEBUG ("entering signal handler" );
521
+ SENTRY_INFO ("entering signal handler" );
522
522
523
523
const struct signal_slot * sig_slot = NULL ;
524
524
for (int i = 0 ; i < SIGNAL_COUNT ; ++ i ) {
@@ -550,7 +550,7 @@ handle_ucontext(const sentry_ucontext_t *uctx)
550
550
// we process the signal.
551
551
if (sentry_options_get_handler_strategy (options )
552
552
== SENTRY_HANDLER_STRATEGY_CHAIN_AT_START ) {
553
- SENTRY_TRACE ("defer to runtime signal handler at start" );
553
+ SENTRY_DEBUG ("defer to runtime signal handler at start" );
554
554
// there is a good chance that we won't return from the previous
555
555
// handler and that would mean we couldn't enter this handler with
556
556
// the next signal coming in if we didn't "leave" here.
@@ -563,7 +563,7 @@ handle_ucontext(const sentry_ucontext_t *uctx)
563
563
564
564
// let's re-enter because it means this was an actual native crash
565
565
sentry__enter_signal_handler ();
566
- SENTRY_TRACE (
566
+ SENTRY_DEBUG (
567
567
"return from runtime signal handler, we handle the signal" );
568
568
}
569
569
#endif
@@ -578,7 +578,7 @@ handle_ucontext(const sentry_ucontext_t *uctx)
578
578
sentry__write_crash_marker (options );
579
579
580
580
if (options -> on_crash_func ) {
581
- SENTRY_TRACE ("invoking `on_crash` hook" );
581
+ SENTRY_DEBUG ("invoking `on_crash` hook" );
582
582
event = options -> on_crash_func (uctx , event , options -> on_crash_data );
583
583
should_handle = !sentry_value_is_null (event );
584
584
}
@@ -600,15 +600,15 @@ handle_ucontext(const sentry_ucontext_t *uctx)
600
600
sentry__transport_dump_queue (disk_transport , options -> run );
601
601
sentry_transport_free (disk_transport );
602
602
} else {
603
- SENTRY_TRACE ("event was discarded by the `on_crash` hook" );
603
+ SENTRY_DEBUG ("event was discarded by the `on_crash` hook" );
604
604
sentry_value_decref (event );
605
605
}
606
606
607
607
// after capturing the crash event, dump all the envelopes to disk
608
608
sentry__transport_dump_queue (options -> transport , options -> run );
609
609
}
610
610
611
- SENTRY_DEBUG ("crash has been captured" );
611
+ SENTRY_INFO ("crash has been captured" );
612
612
613
613
#ifdef SENTRY_PLATFORM_UNIX
614
614
// reset signal handlers and invoke the original ones. This will then tear
0 commit comments