mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 00:28:44 +05:00
Change message of Action *log
This commit is contained in:
committed by
Dan Christian Bogos
parent
c0e5cc6450
commit
87ed820e80
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user