Thank you Matt.
I tried the first way and was able to get it working. But as you rightly said,
I need to always use my wrappers. But this will not be the case.
So, I am going to try the other two approaches that you have suggested.
Best Regards,
Tarun
-Original Message-
From: Matt Sic
Depending on your use case, implement a ContextSelector might be the best
way to go. If you're linking LoggerContexts to ClassLoaders (e.g., one
context per .war file), then there are easier ways to do this using the
existing functionality. If your LoggerContexts will all be in the same
ClassLoader
Hi Matt,
Thank you again.
I just tried the second approach too, which is using the BasicContextSelector.
I hear you when you say that implementing a custom ContextSelector could be
beneficial.
I do not have web projects. So, I do not need to worry about multiple class
loaders.
So, I will try i
Does the FileAppender support lookups in the configured file name?
Something like
...
Does a JIRA ticket already exist for this? (Couldn't find it...)
I have a number of processes that are configured almost identically; with the
log4j2.xml inside one of the jars. Trying to let the different p