Skip to content

Commit

Permalink
Set early debug level to a sensible default. Otherwise many
Browse files Browse the repository at this point in the history
early messages might be masked up.
  • Loading branch information
sobomax committed Jul 4, 2024
1 parent 35b82f0 commit b33e1b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,7 @@ rtpp_main(int argc, char **argv)
err(1, "can't initialize logging subsystem");
/* NOTREACHED */
}
CALL_METHOD(cfs.glog, setlevel, RTPP_LOG_ERR);
#ifdef RTPP_CHECK_LEAKS
rtpp_memdeb_setlog(MEMDEB_SYM, cfs.glog);
rtpp_memdeb_approve(MEMDEB_SYM, "_rtpp_log_open", 1, "Referenced by memdeb itself");
Expand Down

0 comments on commit b33e1b6

Please sign in to comment.