Skip to content

Commit

Permalink
[core] Include detector in DCS event messages to IL
Browse files Browse the repository at this point in the history
  • Loading branch information
teo committed Oct 9, 2024
1 parent 5b4d802 commit d542b3b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/integration/dcs/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -969,11 +969,13 @@ func (p *Plugin) CallStack(data interface{}) (stack map[string]interface{}) {
log.WithField("event", dcsEvent).
WithField("partition", envId).
WithField("level", infologger.IL_Support).
WithField("detector", dcsToEcsDetector(dcsEvent.GetDetector())).
Info("ALIECS PFR operation : completed DCS PFR for ")
} else {
log.WithField("event", dcsEvent).
WithField("partition", envId).
WithField("level", infologger.IL_Devel).
WithField("detector", dcsToEcsDetector(dcsEvent.GetDetector())).
Info("ALIECS PFR operation : processing DCS PFR for ")

ecsDet := dcsToEcsDetector(dcsEvent.GetDetector())
Expand Down Expand Up @@ -1642,12 +1644,14 @@ func (p *Plugin) CallStack(data interface{}) (stack map[string]interface{}) {
WithField("partition", envId).
WithField("level", infologger.IL_Support).
WithField("run", runNumber64).
WithField("detector", dcsToEcsDetector(dcsEvent.GetDetector())).
Info("ALIECS SOR operation : completed DCS SOR for ")
} else {
log.WithField("event", dcsEvent).
WithField("partition", envId).
WithField("level", infologger.IL_Devel).
WithField("run", runNumber64).
WithField("detector", dcsToEcsDetector(dcsEvent.GetDetector())).
Info("ALIECS SOR operation : processing DCS SOR for ")

ecsDet := dcsToEcsDetector(dcsEvent.GetDetector())
Expand Down Expand Up @@ -2151,12 +2155,14 @@ func (p *Plugin) CallStack(data interface{}) (stack map[string]interface{}) {
WithField("partition", envId).
WithField("level", infologger.IL_Support).
WithField("run", runNumber64).
WithField("detector", dcsToEcsDetector(dcsEvent.GetDetector())).
Info("ALIECS EOR operation : completed DCS EOR for ")
} else {
log.WithField("event", dcsEvent).
WithField("partition", envId).
WithField("level", infologger.IL_Devel).
WithField("run", runNumber64).
WithField("detector", dcsToEcsDetector(dcsEvent.GetDetector())).
Info("ALIECS EOR operation : processing DCS EOR for ")

ecsDet := dcsToEcsDetector(dcsEvent.GetDetector())
Expand Down

0 comments on commit d542b3b

Please sign in to comment.