Adding structuredLogging check and fix inconsistencies (#13370)

* Adding structuredLogging check and fix inconsistencies

* Addressing PR review comments

* Addressing PR review comments

* Addressing PR review comments

* Addressing PR review comments

* Addressing PR review comments
This commit is contained in:
Jesús Espino
2019-12-16 13:57:21 +01:00
committed by GitHub
parent fd0a3a687d
commit b8ef62e502
10 changed files with 43 additions and 21 deletions

View File

@@ -4,7 +4,6 @@
package app
import (
"fmt"
"io"
"io/ioutil"
"net/http"
@@ -272,7 +271,7 @@ func (a *App) tryExecuteCustomCommand(args *model.CommandArgs, trigger string, m
return nil, nil, nil
}
mlog.Debug(fmt.Sprintf(utils.T("api.command.execute_command.debug"), trigger, args.UserId))
mlog.Debug("Executing command", mlog.String("command", trigger), mlog.String("user_id", args.UserId))
p := url.Values{}
p.Set("token", cmd.Token)