apache / apache/pulsar-client-cpp

how can close pulsar logs

未关闭
#393 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
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

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。