-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Add log darkening factor #1899
Add log darkening factor #1899
Conversation
@dmlloyd I will try tomorrow. Wondering if we can use an environment variable for Let me explain why: |
|
I think I can do a one-off fix for this property. I have an idea... |
OK with that change you are now able to give the |
Thanks @dmlloyd. I will try that tonight (MTZ). |
@cescoffier maybe let's try to get that one in 0.13.1? |
Great! Maybe try with |
I've tried 1, 2 and 3... no much changes |
Ah, you probably have a 256-color terminal. Not much else to do in that case unfortunately! |
Actually I might be able to use a smoother color increment for 256 mode. Will mess around with it a bit. |
@dmlloyd Was the binary mode of ligh/dark not working that you went for the darkening factor? Also no doc, I'll open an issue for it. |
This fix is only meant as a short term workaround for Clement to get through his presentation. I'll come around to fixing it up once logmanager is upstreamed, which I've been steadily working on but has been a slightly lower priority. I tried making it binary but it seemed that different background colors need different darkening or brightening factors. So I settled on the factor in the end. |
Configure via
quarkus.log.console.darken=<factor>
where the factor should be a small integer (2 seems to work well for bright backgrounds).