googleapis / googleapis/google-cloud-java
[java-logging-logback] Support jsonEncoder for structured logs with LoggingAppender
Ouverte
api: logging
type: feature request
- Langage dominant
- Java
- Étoiles
- 2.1k
- Forks
- 1.2k
- Merge moyen
- 1 j 23 h
- PR mergées (30 j)
- 154
Description
Seems like the structured logs using the jsonEncoder aren't supported when also using LoggingAppender.
Without supporting structured logs the log messages when ingesting into Cloud Logging lose useful metadata like severity, so filtering and searching is very limited. Using a LoggingEventEnchancer can be used to create structured logs with custom code, however, that seems that option should be used for advanced use cases. For the basic use cases it would be ideal to just configure the jsonEncoder.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.