Hello logback team,
I have the following setup:
I have several web applications running in the same Tomcat instance.
The JNDIContextSelector is used to give every deployed webapp its own logging context.
The logging events are transmitted to a SocketServer.
On the side of the SocketServer I want to split the logging events based on their log context to different files.
My idea was to use filters, that filter according the logging context name. But this context name seems to be not reachable from within a filter.
Would it be possible to add the logging context name as property to the LoggingEvent class that the name is available on the socket server side?
Or add another means to accomplish the logging event splitting on the SocketServer side?
This would really simplify our setup as of we would only need one SocketServer for all the Webapps.
Thanks in advance for your help.