Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在不调整日志级别的情况下,不期望SDK为我打印日志 #34

Open
cuiweiman opened this issue Dec 3, 2022 · 0 comments
Open

Comments

@cuiweiman
Copy link

cuiweiman commented Dec 3, 2022

BceHttpClient#execute 中的 ,在不调整日志级别的情况下,不期望SDK为我打印日志
if (logger.isInfoEnabled()) {
logger.info("Unable to execute HTTP request", e);
}

或者,com.baidubce.services.iotdmp.PlatformClient#getDevice 方法执行时,IoT平台没有 设备,SDK不要打印 exception 信息日志。抛出或者返回即可。

@cuiweiman cuiweiman changed the title BceHttpClient#execute 中的 logger.isInfoEnabled() 咋关呀 在不调整日志级别的情况下,不期望SDK为我打印日志 Dec 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant