On Fri, Aug 10, 2018 at 12:29 PM Rajvinder Pal <rajvinder....@gmail.com> wrote:
> Can multiple web applications write to same log file using log4j2 ? Should > i create separate log file for each web application? The easiest solution would be to add the log4j jars to a shared ClassLoader. (Thus, doing exactly that, what I told you *not* to do, if you want your configuration per webapp.) OTOH: Are you sure, this is what you want? I'd rather see things separated. And, to be sure: My suggestion will most likely not work, if you want a per webapp configuration for *some* webapps. It's all, or nothing, in that case. Jochen --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org