diff options
author | Wim <wim@42.be> | 2018-02-22 22:57:34 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2018-02-22 22:57:34 +0100 |
commit | c5ecd091729930e7c2e0c37472cd7738e1c2c495 (patch) | |
tree | 1fc18827b209c6ecc6fb06e63b281a9d215b4062 /matterbridge.go | |
parent | 7b21c1c2f422241cf2f3a8738e48e70bdcd6100e (diff) | |
download | matterbridge-msglm-c5ecd091729930e7c2e0c37472cd7738e1c2c495.tar.gz matterbridge-msglm-c5ecd091729930e7c2e0c37472cd7738e1c2c495.tar.bz2 matterbridge-msglm-c5ecd091729930e7c2e0c37472cd7738e1c2c495.zip |
Use always formatted logging when debug is enabled
Diffstat (limited to 'matterbridge.go')
-rw-r--r-- | matterbridge.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/matterbridge.go b/matterbridge.go index 1b3e2bec..13293ced 100644 --- a/matterbridge.go +++ b/matterbridge.go @@ -34,7 +34,7 @@ func main() { return } if *flagDebug || os.Getenv("DEBUG") == "1" { - log.SetFormatter(&prefixed.TextFormatter{PrefixPadding: 13, DisableColors: true, FullTimestamp: false}) + log.SetFormatter(&prefixed.TextFormatter{PrefixPadding: 13, DisableColors: true, FullTimestamp: false, ForceFormatting: true}) flog.Info("Enabling debug") log.SetLevel(log.DebugLevel) } |