CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]       2026/08/07 04:21:39

Modified files:
        usr.sbin/relayd: agentx_control.c ca.c check_script.c 
                         check_tls.c config.c control.c parse.y pfe.c 
                         pfe_filter.c relay.c relay_http.c relay_udp.c 
                         relayd.c relayd.conf.5 relayd.h util.c 

Log message:
relayd: allow setting log level from relayd.conf

Add "log level (brief|verbose)" which sets or clears RELAYD_OPT_VERBOSE
just like relayctl log verbose|brief does at runtime.

This makes sense now because the recent DPRINTF removal turned all
DPRINTF calls into real log_debug calls. Some debug logs moved to
warning. Some remained DPRINF().

Before that change the toggle had almost nothing to gate. All debug
output was compiled out unless relayd was built with DEBUG > 1. So
"log verbose" in relayctl was practically a no-op for users.
It was impossible for the user to work out why the setup/config wasn't
working.

Now the toggle actually does what its name suggests. Pinning the
level in the config file lets it survive restarts and SIGHUP reloads.

OK kirill@

Reply via email to