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

JsonPayload customization #1340

Open
gtassone opened this issue Jun 18, 2024 · 1 comment
Open

JsonPayload customization #1340

gtassone opened this issue Jun 18, 2024 · 1 comment
Assignees
Labels
api: logging Issues related to the googleapis/java-logging-logback API. priority: p3 Desirable enhancement or fix. May not be included in next release.

Comments

@gtassone
Copy link

We have a requirement to include custom fields in the Cloud Logging JsonPayload, in our case used by our datadog log sink integration for filtering and billing attribution of dataflow job logs.

In the current LoggingAppender implementation the JsonPayload is not modifiable and is already set on the LogEntry.Builder before invoking LoggingEnhancer.

When using Cloud Logging client directly we can build the custom JsonPayload.

Feature request to allow JsonPayload modification either via LoggingEnhancer or Logback encoder or some other mechanism.

@product-auto-label product-auto-label bot added the api: logging Issues related to the googleapis/java-logging-logback API. label Jun 18, 2024
@cindy-peng cindy-peng added the priority: p3 Desirable enhancement or fix. May not be included in next release. label Sep 11, 2024
@cindy-peng
Copy link
Contributor

Thanks for the feedback, @gtassone! Our team will triage this and get back to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: logging Issues related to the googleapis/java-logging-logback API. priority: p3 Desirable enhancement or fix. May not be included in next release.
Projects
None yet
Development

No branches or pull requests

2 participants