~bigbes/sr-ht-dolt: 95bedef8

logging: take the log policy from ecore

setupLogging's level parser, its os.Stderr.Stat colour probe and its three-key
mask list were one of six copies. Defaults(conf, section) resolves all of it now
and the handler stays here, which is the split that package documents.

Three things follow from taking the instance's list instead of this service's
own: the mask set gains the config-file private keys and the migration DSN that
siblings had already learned to redact, NO_COLOR is honoured, and verbosity can
be set for one run with $LOG_LEVEL or -d. [dolt.sr.ht]log-level is unchanged.

Eugene Blikh <bigbes@gmail.com> — 2026-08-08 21:23:25 UTC

Commit 95bedef83a9a6095cb34fa5c12570630b0513ca4view raw patch

Parent(s): e04928c9

2 changed file(s)

FileStatus+
cmd/doltsrht/logging.go M +29 -30
config.example.ini M +4