Improve journald logger (#586)

* Improve journald logger

tag the logs with the identifier so they can be found easily with
journald


---------

Signed-off-by: Itxaka <itxaka@kairos.io>
This commit is contained in:
Itxaka
2025-04-02 14:16:56 +02:00
committed by GitHub
parent e2cf41415d
commit 2078966079
10 changed files with 144 additions and 76 deletions

36
.golangci.yaml Normal file
View File

@@ -0,0 +1,36 @@
version: "2"
run:
tests: false
linters:
enable:
- dupl
- ginkgolinter
- gocheckcompilerdirectives
- goconst
- gocyclo
- godot
- goheader
- misspell
- revive
- zerologlint
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- third_party$
- builtin$
- examples$
formatters:
enable:
- gofmt
- goimports
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$