gproxy: load default config file for debug and listen statements

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-05-04 14:07:12 +02:00
parent 0440ad7c09
commit 42f9ba8efe
6 changed files with 53 additions and 22 deletions

View File

@ -10,7 +10,10 @@ import (
)
func main() {
log.SetLevel(log.DebugLevel)
config.DefaultConfig()
config.LoadConfig("./authentik/lib/default.yml")
config.LoadConfig("./local.env.yml")
config.ConfigureLogger()
rl := log.WithField("logger", "authentik.g")