config: also take into account PCMT_DEVEL
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
leo 2023-05-12 23:22:48 +02:00
parent fc4460d5e1
commit 7eb13cfa9a
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -69,7 +69,7 @@ func LoadConfig(conf string, isPath bool) (*Config, error) {
)
}
if config.DevelMode {
if config.DevelMode && os.Getenv("PCMT_DEVEL") != "False" {
log.Debug("set DEBUG level based on config value")
slogger = slogging.SetLevel(slogging.LevelDebug)