Skip to content

pkg/loop: suppress client side caller info when forwarding LOOPP logs#1910

Merged
jmank88 merged 1 commit intomainfrom
loop-log-caller
Mar 19, 2026
Merged

pkg/loop: suppress client side caller info when forwarding LOOPP logs#1910
jmank88 merged 1 commit intomainfrom
loop-log-caller

Conversation

@jmank88
Copy link
Contributor

@jmank88 jmank88 commented Mar 19, 2026

Forwarded logs from LOOP Plugins had duplicate keys, which is valid JSON, but not permitted by most systems. In grafana, the latest value appears to take precedent, which is the client side logger function, and thus not interesting. However, we can suppress that second caller with a zap option.

@jmank88 jmank88 requested a review from pavel-raykov March 19, 2026 16:54
@jmank88 jmank88 requested a review from a team as a code owner March 19, 2026 16:54
@github-actions
Copy link

👋 jmank88, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@github-actions
Copy link

📊 API Diff Results

No changes detected for module github.com/smartcontractkit/chainlink-common

View full report

@jmank88 jmank88 requested a review from jerryaldrichiii March 19, 2026 16:57
@jmank88 jmank88 enabled auto-merge March 19, 2026 16:58
@jmank88 jmank88 requested a review from bolekk March 19, 2026 17:08
@jmank88 jmank88 added this pull request to the merge queue Mar 19, 2026
Merged via the queue into main with commit b643931 Mar 19, 2026
30 of 31 checks passed
@jmank88 jmank88 deleted the loop-log-caller branch March 19, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants