Closed JulienTant closed 4 months ago
Add RequestIDs (client request id + response request id) and timestamp in our logs as recommended by MS
I tried it by creating a broken command:
func (p *Plugin) executeErrAPI(args *model.CommandArgs) (*model.CommandResponse, *model.AppError) { user, err := p.GetClientForApp().GetUser("invalid") if err != nil { p.GetAPI().LogWarn("Error in getting user", "error", err.Error()) return p.cmdError(args, "Error in getting user") } return p.cmdSuccess(args, fmt.Sprintf("User: %v", user)) }
https://mattermost.atlassian.net/browse/MM-57702
@jespino gentle ping!
Summary
Add RequestIDs (client request id + response request id) and timestamp in our logs as recommended by MS
I tried it by creating a broken command:
Ticket Link
https://mattermost.atlassian.net/browse/MM-57702