config: also take into account PCMT_DEVEL
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
fc4460d5e1
commit
7eb13cfa9a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user