googleapis / googleapis/google-cloud-java

[sdk-platform-java] Logging: capture and re-throw more clear error when sfl4j not in classpath but logging enabled.

オープン
#12,392 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
api: logging priority: p3 type: feature request
主要言語
Java
スター
2.1k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
154

説明

context: https://github.com/googleapis/sdk-platform-java/pull/3403#discussion_r1964371858

For scenario where customer app does not have logging dependency (SLF4J), but turns on logging via env variable, logging would fail. Currently, this would throw ClassNotFoundException.

For better customer experience, we can capture this and re-throw with more clear error message to communicate to customer.

Note: if change, this applies to both Gax and Auth. Need code changes in both repos.

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

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

評価

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

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

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