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

TRACE logging does not work #790

Closed
galderz opened this issue Feb 7, 2019 · 2 comments
Closed

TRACE logging does not work #790

galderz opened this issue Feb 7, 2019 · 2 comments
Assignees
Milestone

Comments

@galderz
Copy link
Member

galderz commented Feb 7, 2019

A while back one could set shamrock.log.level=TRACE and TRACE logging would appear in the console. This is not working any more.

Also, it doesn't seem to be possible to disable console logging and do TRACE logging to a file.

@dmlloyd
Copy link
Member

dmlloyd commented Feb 7, 2019

It works for me.

But, you have to configure it correctly! To enable overall trace logging, -Dshamrock.log.level=TRACE, but to enable trace on the console, you also need -Dshamrock.log.console.level=TRACE.

You can disable console logging with -Dshamrock.log.console.enable=false. You can allow trace logging to the file via -Dshamrock.log.file.level=TRACE.

@dmlloyd dmlloyd closed this as completed Feb 7, 2019
@dmlloyd
Copy link
Member

dmlloyd commented Feb 7, 2019

Wait, there is a legitimate issue! Only the root logger will log at TRACE with these settings. I have a patch to fix the other cases.

@dmlloyd dmlloyd reopened this Feb 7, 2019
@dmlloyd dmlloyd self-assigned this Feb 7, 2019
@dmlloyd dmlloyd added this to the 0.9.0 milestone Feb 7, 2019
dmlloyd added a commit that referenced this issue Feb 7, 2019
[#790] Allow all log levels to be configured, not just the root
maxandersen pushed a commit to maxandersen/quarkus that referenced this issue Nov 5, 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

2 participants