From 614112aeb2461a9984f0e378706714333f3400cd Mon Sep 17 00:00:00 2001 From: Florian Hoss Date: Mon, 30 Oct 2023 11:37:51 +0100 Subject: [PATCH] Adjust env logger options --- internal/env/env.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/env/env.go b/internal/env/env.go index 8f57ecd..ab2fb0a 100644 --- a/internal/env/env.go +++ b/internal/env/env.go @@ -13,7 +13,7 @@ type Config struct { TimeZone string `env:"TZ" envDefault:"Etc/UTC" validate:"timezone"` Title string `env:"TITLE" envDefault:"goDash"` Port int `env:"PORT" envDefault:"4000" validate:"min=1024,max=49151"` - LogLevel string `env:"LOG_LEVEL" envDefault:"info" validate:"oneof=debug info warn error panic fatal"` + LogLevel string `env:"LOG_LEVEL" envDefault:"info" validate:"oneof=debug info warn error"` LiveSystem bool `env:"LIVE_SYSTEM" envDefault:"true"` }