apache / apache/pulsar-client-cpp
how can close pulsar logs
- 主要語言
- C++
- 星號
- 71
- 分支
- 90
- 平均合併
- 2 小時 33 分鐘
- 30 天內合併 PR
- 3
描述
I am using Pulsar Cpp in my project but it produces pulsar INFO logs roughly every 10 minutes. How can I close INFO logs from Pulsar?
Example Log:
INFO [139790546368256] ProducerStatsImpl:87 | Producer [persistent://public/default/test_fm_2, ] , ProducerStatsImpl (numMsgsSent_ = 1151, numBytesSent_ = 99461243, sendMap_ = {[Key: Ok, Value: 1151], }, latencyAccumulator_ = Latencies [ 50pct: 2.70125ms, 90pct: 91.4338ms, 99pct: 353.278ms, 99.9pct: 540.775ms], totalMsgsSent_ = 1151, totalBytesSent_ = 99461243, totalAcksReceived_ = , totalSendMap_ = {[Key: Ok, Value: 1151], }, totalLatencyAccumulator_ = Latencies [ 50pct: 2.70125ms, 90pct: 91.4338ms, 99pct: 353.278ms, 99.9pct: 540.775ms])
貢獻指南
研究方向
報告提到了 ProducerStatsImpl,並展示了 Pulsar C++ 客戶端定期輸出的 INFO 訊息;首先追蹤該元件的記錄檔設定以及現有的記錄檔文件。完成標準是找出一種受支援的方式來抑制這些 INFO 訊息或降低其層級,並根據所示輸出對其進行記錄或驗證。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- cpp
- 領域
- observability
- Issue 類型
- 文件
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100