mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-21 15:18:44 +05:00
Removing debug from diameter code
This commit is contained in:
@@ -83,7 +83,6 @@ func (self DiameterAgent) processCCR(ccr *CCR, reqProcessor *config.DARequestPro
|
||||
utils.Logger.Info(fmt.Sprintf("<DiameterAgent> RequestProcessor: %s", reqProcessor.Id))
|
||||
utils.Logger.Info(fmt.Sprintf("<DiameterAgent> CCR message: %s", ccr.diamMessage))
|
||||
}
|
||||
utils.Logger.Debug(fmt.Sprintf("### DiameterAgent.processCCR: %+v, reqProcessor: %+v, cca: %+v", ccr, reqProcessor, cca))
|
||||
if !reqProcessor.AppendCCA {
|
||||
*cca = *NewBareCCAFromCCR(ccr, self.cgrCfg.DiameterAgentCfg().OriginHost, self.cgrCfg.DiameterAgentCfg().OriginRealm)
|
||||
}
|
||||
|
||||
@@ -420,7 +420,6 @@ func fieldOutVal(m *diam.Message, cfgFld *config.CfgCdrField, extraParam interfa
|
||||
// messageAddAVPsWithPath will dynamically add AVPs into the message
|
||||
// append: append to the message, on false overwrite if AVP is single or add to group if AVP is Grouped
|
||||
func messageSetAVPsWithPath(m *diam.Message, path []interface{}, avpValStr string, appnd bool, timezone string) error {
|
||||
utils.Logger.Debug(fmt.Sprintf("### Start messageSetAVPsWithPath, message: %+v, path: %+v, avpValStr: %s, append: %v", m, path, avpValStr, appnd))
|
||||
if len(path) == 0 {
|
||||
return errors.New("Empty path as AVP filter")
|
||||
}
|
||||
@@ -477,7 +476,6 @@ func messageSetAVPsWithPath(m *diam.Message, path []interface{}, avpValStr strin
|
||||
}
|
||||
m.AVP = append(m.AVP, msgAVP)
|
||||
m.Header.MessageLength += uint32(msgAVP.Len())
|
||||
utils.Logger.Debug(fmt.Sprintf("### Done messageSetAVPsWithPath, message: %+v", m))
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user