From: Zygo Blaxell Date: Tue, 5 Aug 2025 04:37:53 +0000 (-0400) Subject: main: quiet some pre-option-parsing debug messages X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=caa1cc343cb11a4161be775125c937175a420a8d;p=bees main: quiet some pre-option-parsing debug messages Before the argv options are parsed, bees runs at log level DEBUG. Some messages are emitted before the log level can be set. Replace these with BEESTRACE--we only need them if there's an exception. Signed-off-by: Zygo Blaxell --- diff --git a/src/bees.cc b/src/bees.cc index 45b5e65c..d1152ceb 100644 --- a/src/bees.cc +++ b/src/bees.cc @@ -694,7 +694,7 @@ static void block_signals() { - BEESLOGDEBUG("Masking signals"); + BEESTRACE("Masking signals"); DIE_IF_NON_ZERO(sigemptyset(&new_sigset)); DIE_IF_NON_ZERO(sigaddset(&new_sigset, SIGTERM)); @@ -772,7 +772,7 @@ bees_main(int argc, char *argv[]) // Create a context so we can apply configuration to it shared_ptr bc = make_shared(); - BEESLOGDEBUG("context constructed"); + BEESTRACE("context constructed"); // Defaults bool use_relative_paths = false;