Skip to content

Commit d542b3b

Browse files
committed
[core] Include detector in DCS event messages to IL
1 parent 5b4d802 commit d542b3b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

core/integration/dcs/plugin.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -969,11 +969,13 @@ func (p *Plugin) CallStack(data interface{}) (stack map[string]interface{}) {
969969
log.WithField("event", dcsEvent).
970970
WithField("partition", envId).
971971
WithField("level", infologger.IL_Support).
972+
WithField("detector", dcsToEcsDetector(dcsEvent.GetDetector())).
972973
Info("ALIECS PFR operation : completed DCS PFR for ")
973974
} else {
974975
log.WithField("event", dcsEvent).
975976
WithField("partition", envId).
976977
WithField("level", infologger.IL_Devel).
978+
WithField("detector", dcsToEcsDetector(dcsEvent.GetDetector())).
977979
Info("ALIECS PFR operation : processing DCS PFR for ")
978980

979981
ecsDet := dcsToEcsDetector(dcsEvent.GetDetector())
@@ -1642,12 +1644,14 @@ func (p *Plugin) CallStack(data interface{}) (stack map[string]interface{}) {
16421644
WithField("partition", envId).
16431645
WithField("level", infologger.IL_Support).
16441646
WithField("run", runNumber64).
1647+
WithField("detector", dcsToEcsDetector(dcsEvent.GetDetector())).
16451648
Info("ALIECS SOR operation : completed DCS SOR for ")
16461649
} else {
16471650
log.WithField("event", dcsEvent).
16481651
WithField("partition", envId).
16491652
WithField("level", infologger.IL_Devel).
16501653
WithField("run", runNumber64).
1654+
WithField("detector", dcsToEcsDetector(dcsEvent.GetDetector())).
16511655
Info("ALIECS SOR operation : processing DCS SOR for ")
16521656

16531657
ecsDet := dcsToEcsDetector(dcsEvent.GetDetector())
@@ -2151,12 +2155,14 @@ func (p *Plugin) CallStack(data interface{}) (stack map[string]interface{}) {
21512155
WithField("partition", envId).
21522156
WithField("level", infologger.IL_Support).
21532157
WithField("run", runNumber64).
2158+
WithField("detector", dcsToEcsDetector(dcsEvent.GetDetector())).
21542159
Info("ALIECS EOR operation : completed DCS EOR for ")
21552160
} else {
21562161
log.WithField("event", dcsEvent).
21572162
WithField("partition", envId).
21582163
WithField("level", infologger.IL_Devel).
21592164
WithField("run", runNumber64).
2165+
WithField("detector", dcsToEcsDetector(dcsEvent.GetDetector())).
21602166
Info("ALIECS EOR operation : processing DCS EOR for ")
21612167

21622168
ecsDet := dcsToEcsDetector(dcsEvent.GetDetector())

0 commit comments

Comments
 (0)