googleapis / googleapis/google-cloud-java

[java-logging-logback] Support jsonEncoder for structured logs with LoggingAppender

オープン
#12,010 コメント 0 件 リアクション 0 件 担当者 1 名 @cindy-peng が担当を希望しています GitHub で見る
api: logging type: feature request
主要言語
Java
スター
2.1k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
154

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。