feat(logging): add option to hide log line source

This is almost certainly going to be a footgun, but it's not too
bad of a change to make. If users really do want to make getting
support more difficult, so be it.

Closes: #1537
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso
2026-03-24 15:32:09 +00:00
parent e42a328843
commit 082a57a1a0
7 changed files with 21 additions and 11 deletions

View File

@@ -276,7 +276,7 @@ func main() {
internal.SetHealth("anubis", healthv1.HealthCheckResponse_NOT_SERVING)
lg := internal.InitSlog(*slogLevel, os.Stderr)
lg := internal.InitSlog(*slogLevel, os.Stderr, false)
lg.Info("starting up Anubis")
if *healthcheck {