We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
请教为何打印OBS版本及连接信息使用WARN日志级别输出?每次启动都以为有什么问题,是不是debug更加合理呢?
The text was updated successfully, but these errors were encountered:
OFF: 关闭级别,如果设置为这个级别,日志打印功能将被关闭。 TRACE:跟踪级别,如果设置为这个级别,将打印所有日志信息。通常不建议使用。 DEBUG:调试级别,如果设置为这个级别,除了打印INFO级别以上的信息外,还将打印每次HTTP/HTTPS请求和响应的头信息,鉴权算法计算出的StringToSign信息等。 INFO:信息级别,如果设置为这个级别,除了打印WARN级别以上的信息外,还将打印HTTP/HTTPS请求的耗时时间,ObsClient接口的耗时时间等。 WARN:告警级别,如果设置为这个级别,除了打印ERROR级别以上的信息外,还将打印一些关键事件的信息,如重试请求超过最大次数等。 ERROR:错误级别,如果设置为这个级别,仅打印发生异常时的错误信息。
级别可以自行更改,之所以没有默认使用debug,是因为打印了太多信息,建议只在定位问题时开启debug。
Sorry, something went wrong.
No branches or pull requests
请教为何打印OBS版本及连接信息使用WARN日志级别输出?每次启动都以为有什么问题,是不是debug更加合理呢?
The text was updated successfully, but these errors were encountered: