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
使用 web 控制台管理日志等级时报错没有发现 logback.xml 配置文件不存在
在源码中发现是通过 new File("logback.xml") 获取路径为 file:/data/tars/app_log/logback.xml的 logback 配置文件,但是实际配置文件在 classpath:logback.xml 中
new File("logback.xml")
file:/data/tars/app_log/logback.xml
classpath:logback.xml
The text was updated successfully, but these errors were encountered:
这里是有问题, reload的时候 。应该是classpath下,
Sorry, something went wrong.
[issue] #181
3cd6a13
load logback config from classpath
@TimmyYu 看代码这并不是通过修改配置文件的值来更新日志级别,是不是不需要重新reload logback的配置文件,直接执行resetLogLevel是否就可以?
TimmyYu
No branches or pull requests
使用 web 控制台管理日志等级时报错没有发现 logback.xml 配置文件不存在
在源码中发现是通过
new File("logback.xml")
获取路径为file:/data/tars/app_log/logback.xml
的 logback 配置文件,但是实际配置文件在classpath:logback.xml
中The text was updated successfully, but these errors were encountered: