Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Include detector in DCS event messages to IL #621

Merged
merged 1 commit into from
Oct 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading