diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-09-06 14:16:37 +0000 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-09-06 14:16:37 +0000 |
| commit | 3fc7b6e052402dba9bf13bbff54ff6d99a87fd8e (patch) | |
| tree | d3df349b646621cb0a6fcf00bd2336ca07969407 /scripts/cli | |
| parent | 3f1e103d6774159fb7835c3562a1c1ab834cfd7a (diff) | |
| download | vyos-1x-3fc7b6e052402dba9bf13bbff54ff6d99a87fd8e.tar.gz vyos-1x-3fc7b6e052402dba9bf13bbff54ff6d99a87fd8e.zip | |
dhcp: T9278: move DHCP client hook tracing to a gated debug level
Each lease event emitted some fifteen daemon.info lines tracing internal steps
rather than recording a change. Add a "debug" level to logmsg(), silenced unless
/tmp/vyos.dhclient.debug exists, following the flag file convention used for FRR
and ifconfig. Demoting alone would not help, as journald shows all priorities by
default. Fifteen tracing messages move to debug; the sixteen recording an actual
change stay at info.
Also fix logmsg(): "warn" had no case arm although it is used, and the global
LOG_PRIO leaked the preceding call's priority. It is now local.
Diffstat (limited to 'scripts/cli')
0 files changed, 0 insertions, 0 deletions
