mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-25 00:21:04 +00:00
Removed unconditional logging profile
This commit is contained in:
parent
7e4ad3de29
commit
191bf9a3dc
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ import (
|
||||||
func NewLogger(config *config.AppConfig, rollrusHook string) *logrus.Entry {
|
func NewLogger(config *config.AppConfig, rollrusHook string) *logrus.Entry {
|
||||||
var log *logrus.Logger
|
var log *logrus.Logger
|
||||||
environment := "production"
|
environment := "production"
|
||||||
if true || config.Debug || os.Getenv("DEBUG") == "TRUE" { // TODO: remove true here
|
if config.Debug || os.Getenv("DEBUG") == "TRUE" {
|
||||||
environment = "development"
|
environment = "development"
|
||||||
log = newDevelopmentLogger(config)
|
log = newDevelopmentLogger(config)
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue