microsoftgraph / microsoftgraph/msgraph-sdk-java

logger.setLoggingLevel(LoggerLevel.DEBUG) doesn't capture the Request and Response for Successful API calls

オープン
#2,171 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

Needs: Attention :wave: type:question
主要言語
Java
スター
444
フォーク
154
平均マージ
18時間 28分
マージ済み PR(30日)
4

説明

I am looking for logging the complete request and response for all API calls and using logger.setLoggingLevel(LoggerLevel.DEBUG), its capturing only the API calls that is returned with an error/exceptions (Successfull calls like 200, 201, 202 etc are not captured).
In the SDK Documentation, I am not able to find anything specific for logging on how we can use the SDK for logging the requests and response. I am looking for two things:
A) Can you share the SDK documentation which explains more on the available logging functionality and how to use those?
B) How I can enable Debug logging for all API requests including Successful ones too?
TIA

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず SDK のロギングに関するドキュメントと設定を確認し、成功ステータスコードを返す API 呼び出しの DEBUG ロギングを再現します。成功レスポンスとエラーレスポンスを比較して、リクエスト/レスポンスのロギングがどこで異なるかを特定します。動作が説明され、成功した呼び出しが要求どおりに記録されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
api, observability
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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