@@ -89,7 +89,7 @@ startup_inproc_backend(
8989 stack_t old_sig_stack ;
9090 int ret = sigaltstack (NULL , & old_sig_stack );
9191 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 );
9393 g_signal_stack .ss_sp = sentry_malloc (SIGNAL_STACK_SIZE );
9494 if (!g_signal_stack .ss_sp ) {
9595 return 1 ;
@@ -98,7 +98,7 @@ startup_inproc_backend(
9898 g_signal_stack .ss_flags = 0 ;
9999 sigaltstack (& g_signal_stack , 0 );
100100 } 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)" ,
102102 old_sig_stack .ss_size , old_sig_stack .ss_flags );
103103 } else if (ret == -1 ) {
104104 SENTRY_WARNF ("Failed to query signal stack size: %s" , strerror (errno ));
@@ -485,15 +485,15 @@ make_signal_event(
485485 void * backtrace [MAX_FRAMES ];
486486 size_t frame_count
487487 = sentry_unwind_stack_from_ucontext (uctx , & backtrace [0 ], MAX_FRAMES );
488- SENTRY_TRACEF (
488+ SENTRY_DEBUGF (
489489 "captured backtrace from ucontext with %lu frames" , frame_count );
490490 // if unwinding from a ucontext didn't yield any results, try again with a
491491 // direct unwind. this is most likely the case when using `libbacktrace`,
492492 // since that does not allow to unwind from a ucontext at all.
493493 if (!frame_count ) {
494494 frame_count = sentry_unwind_stack (NULL , & backtrace [0 ], MAX_FRAMES );
495495 }
496- SENTRY_TRACEF ("captured backtrace with %lu frames" , frame_count );
496+ SENTRY_DEBUGF ("captured backtrace with %lu frames" , frame_count );
497497
498498 sentry_value_t stacktrace
499499 = sentry_value_new_stacktrace (& backtrace [0 ], frame_count );
@@ -518,7 +518,7 @@ make_signal_event(
518518static void
519519handle_ucontext (const sentry_ucontext_t * uctx )
520520{
521- SENTRY_DEBUG ("entering signal handler" );
521+ SENTRY_INFO ("entering signal handler" );
522522
523523 const struct signal_slot * sig_slot = NULL ;
524524 for (int i = 0 ; i < SIGNAL_COUNT ; ++ i ) {
@@ -550,7 +550,7 @@ handle_ucontext(const sentry_ucontext_t *uctx)
550550 // we process the signal.
551551 if (sentry_options_get_handler_strategy (options )
552552 == 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" );
554554 // there is a good chance that we won't return from the previous
555555 // handler and that would mean we couldn't enter this handler with
556556 // the next signal coming in if we didn't "leave" here.
@@ -563,7 +563,7 @@ handle_ucontext(const sentry_ucontext_t *uctx)
563563
564564 // let's re-enter because it means this was an actual native crash
565565 sentry__enter_signal_handler ();
566- SENTRY_TRACE (
566+ SENTRY_DEBUG (
567567 "return from runtime signal handler, we handle the signal" );
568568 }
569569#endif
@@ -578,7 +578,7 @@ handle_ucontext(const sentry_ucontext_t *uctx)
578578 sentry__write_crash_marker (options );
579579
580580 if (options -> on_crash_func ) {
581- SENTRY_TRACE ("invoking `on_crash` hook" );
581+ SENTRY_DEBUG ("invoking `on_crash` hook" );
582582 event = options -> on_crash_func (uctx , event , options -> on_crash_data );
583583 should_handle = !sentry_value_is_null (event );
584584 }
@@ -600,15 +600,15 @@ handle_ucontext(const sentry_ucontext_t *uctx)
600600 sentry__transport_dump_queue (disk_transport , options -> run );
601601 sentry_transport_free (disk_transport );
602602 } else {
603- SENTRY_TRACE ("event was discarded by the `on_crash` hook" );
603+ SENTRY_DEBUG ("event was discarded by the `on_crash` hook" );
604604 sentry_value_decref (event );
605605 }
606606
607607 // after capturing the crash event, dump all the envelopes to disk
608608 sentry__transport_dump_queue (options -> transport , options -> run );
609609 }
610610
611- SENTRY_DEBUG ("crash has been captured" );
611+ SENTRY_INFO ("crash has been captured" );
612612
613613#ifdef SENTRY_PLATFORM_UNIX
614614 // reset signal handlers and invoke the original ones. This will then tear
0 commit comments