googleapis / googleapis/google-cloud-java
[java-logging-logback] JsonPayload customization
Open
api: logging
priority: p3
- Dominant language
- Java
- Stars
- 2.1k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 154
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.