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

save-result 开关不工作 #1298

Closed
hengyunabc opened this issue Jul 8, 2020 · 0 comments
Closed

save-result 开关不工作 #1298

hengyunabc opened this issue Jul 8, 2020 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@hengyunabc
Copy link
Collaborator

执行

$ options save-result true
 NAME         BEFORE-VALUE  AFTER-VALUE
----------------------------------------
 save-result  true          true

但是结果并没有保存到 ~/logs/arthas-cache/result.log 里。

排查后,发现是 logback.xml 里有一个配置错误:

    <result level="INFO">
        <appender-ref ref="RESULT" />
    </result>

应该是:

    <logger name="result" level="INFO" additivity="false">
        <appender-ref ref="RESULT" />
    </logger>
@hengyunabc hengyunabc added the bug Something isn't working label Jul 8, 2020
@hengyunabc hengyunabc added this to the 3.3.7 milestone Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant