diff options
author | Wim <wim@42.be> | 2018-01-26 21:54:09 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2018-01-26 21:54:09 +0100 |
commit | 6a047f87229c277b72a1a54b18dc39abe1dbdca4 (patch) | |
tree | 3ea52d700ee29e2e51933dec565c641f5bdd0ad2 /matterbridge.go | |
parent | 6523494e83a97ccddfa5993d979bbac470fb09c5 (diff) | |
download | matterbridge-msglm-6a047f87229c277b72a1a54b18dc39abe1dbdca4.tar.gz matterbridge-msglm-6a047f87229c277b72a1a54b18dc39abe1dbdca4.tar.bz2 matterbridge-msglm-6a047f87229c277b72a1a54b18dc39abe1dbdca4.zip |
Print only debug messages when specified (xmpp). Closes #345
Diffstat (limited to 'matterbridge.go')
-rw-r--r-- | matterbridge.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/matterbridge.go b/matterbridge.go index 397497cf..e755ea72 100644 --- a/matterbridge.go +++ b/matterbridge.go @@ -43,6 +43,7 @@ func main() { log.Println("WARNING: THIS IS A DEVELOPMENT VERSION. Things may break.") } cfg := config.NewConfig(*flagConfig) + cfg.General.Debug = *flagDebug r, err := gateway.NewRouter(cfg) if err != nil { log.Fatalf("Starting gateway failed: %s", err) |