-
Notifications
You must be signed in to change notification settings - Fork 18
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
How to include quarkus-logging-manager in uberJar so it is available to modify logging level during run time #91
Comments
Try setting |
No luck. I have added it in the configuration and tried to access GUI with: |
Sorry: I gave you a wrong config: It's See https://github.com/phillip-kruger/logging-manager-example |
Thank you. It works fine now. Is there any way to modify the logging level of those |
I am not following, can you share some code and more info ? |
There are some beans which are not annotated with anything and they were initialized using
And I would like to change the log level of this class. But I could not find this class in the list (in GUI). |
Where does |
It comes from |
Another observation is that when running in dev mode, there are both individual classes and also packages options to modify the logging level which is nice because we can change logging level for all the classes in a package with single change. But in when built with uber-jar, there are only classes and no packages. Is there anyway to include packages also in that list ? |
I am not sure where slf4j comes from, but I do not think it's Quarkus. Try using the JBoss Logger (that comes from Quarkus) |
Hi, I have used the jboss logger still the same. :( |
Not sure, please can you share a reproducer project, then I can look at it |
Hi, Please find an example: There are two classes SimpleClass.java and SimpleApplicationScopedClass.java Please let me know for more info. |
thanks ! I'll have a look a.s.a.p |
Ok, I have actually seen this before. After a while all the loggers are there. I am not sure what triggers that. This is actually a quarkus bug (you will see the same issue in the dev ui) I'll look into this a bit more. You should be able to still use the REST endpoint and provide that logger to change the level. |
ok. Thanks for the info. Pls let us know if you find anything. |
I have fixed this (locally), I'll do a PR soon |
This is fixed in quarkus, and will be in the next minor version (2.1.0) of logging manager (waiting for the fix to be available in quarkus) |
Hi, I see quarkus-logging-manager GUI has been added as part of quarkus DEV mode. Is there a way to include it in uber-jar so i can use this in DEV/QA/LIVE environments ?
Thanks
The text was updated successfully, but these errors were encountered: