Use logrus, log to syslog, implement refresh and set loglevel remotely

This commit is contained in:
yo
2022-05-10 15:26:17 +02:00
parent 351e068a2e
commit 563f90384d
3 changed files with 97 additions and 46 deletions
+2
View File
@@ -5,6 +5,7 @@ go 1.17
require (
github.com/go-ldap/ldap/v3 v3.4.3
github.com/peterbourgon/ff v1.7.1
github.com/sirupsen/logrus v1.8.1
github.com/tabalt/pidfile v1.1.0
)
@@ -12,4 +13,5 @@ require (
github.com/Azure/go-ntlmssp v0.0.0-20211209120228-48547f28849e // indirect
github.com/go-asn1-ber/asn1-ber v1.5.4 // indirect
golang.org/x/crypto v0.0.0-20220331220935-ae2d96664a29 // indirect
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 // indirect
)