-
-
Notifications
You must be signed in to change notification settings - Fork 11
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 switch between Redis dbs? #16
Comments
@RickoNoNo3, |
I finally find something about it in the code. log4j2-redis-appender/appender/src/main/java/com/vlkan/log4j2/redis/appender/RedisAppender.java Lines 227 to 260 in 45c207f
The parameter is set to 0 (L243 and L253). It may be customizable. |
@RickoNoNo3, got it, thanks! I will try to add that. |
@RickoNoNo3, I have added |
Nice work! It works fine in my SpringBoot project. I also tried to fork and modify the tests of this library, the In brief, well done! |
Thanks for confirming the fix! I am trying to overhaul the project. I have one more (graceful shutdown) bug in my list to process. I will probably wrap up my work this week and cut a new release. I will let you know of the new release here via dropping a comment. |
@RickoNoNo3, I have just released 0.11.0, enjoy while it is still hot! ☕ |
As we know Redis has a concept called db, which provides 16(by default) different storage spaces seperated from each other. I'm using 0-3 of them, and I want my Log4J2 append its logs to the 3rd.
I can't find a configuration property in this library's doc, does it supports?
The text was updated successfully, but these errors were encountered: