~bigbes/sr-ht-compare: 07736d95

logging: the instance's log policy instead of forty local lines

initLogging held compare's own copy of the level choice, the colour probe
and the mask list, and the mask list was the drifted one: three keys and
a four-word pattern, against an instance whose services between them
redact ten. logging.Defaults answers all of it, and the handler stays
here — scribe is auxilia's and does not belong in the library every
service links for its chrome.

isTerminal goes to logging.ColorEnabled, which also honours NO_COLOR, and
the level now reads $LOG_LEVEL after -d. Defaults(nil, "") because the
handler is installed before LoadConfig: a daemon that became verbose only
after startup is silent for the window -d was passed to watch.

bigbes <bigbes@gmail.com> — 2026-08-08 21:19:19 UTC

Commit 07736d95cf181f89fcd8b0dbb54afe79dfa50352view raw patch

Parent(s): 5719e51e

1 changed file(s)

FileStatus+
cmd/comparesrht/main.go M +31 -32