Change message of Action *log

This commit is contained in:
TeoV
2019-04-12 13:44:09 +03:00
committed by Dan Christian Bogos
parent c0e5cc6450
commit 87ed820e80

View File

@@ -140,10 +140,10 @@ func logAction(ub *Account, a *Action, acs Actions, extraData interface{}) (err
switch {
case ub != nil:
body, _ := json.Marshal(ub)
utils.Logger.Info(fmt.Sprintf("Threshold hit, Balance: %s", body))
utils.Logger.Info(fmt.Sprintf("LOG Account: %s", body))
case extraData != nil:
body, _ := json.Marshal(extraData)
utils.Logger.Info(fmt.Sprintf("<CGRLog> extraData: %s", body))
utils.Logger.Info(fmt.Sprintf("LOG ExtraData: %s", body))
}
return
}