I am using the Routing Appender in Log4J2 to route to different log files.
The path is determined by a custom LookUp. The configuration and the lookup
are as follows.
*Log4j2.xml Routing appender*
A common source of problems with custom plugins is related to the
Log4j2Plugins.dat file not being generated or being included on the
classpath. If you shade everything into a single jar, for example, you need
to use a custom shade rule to merge the plugin dat files (I've seen some
shade plugins in
Maybe, but the point is that the batch is managed by the appender, so there is
no need for a new method in the Appender interface.
Ralph
> On Jan 9, 2018, at 2:20 PM, Matt Sicker wrote:
>
> A common source of problems with custom plugins is related to the
> Log4j2Plugins.dat file not being gen
Shoot. Replied to the wrong email.
Sent from my iPhone
> On Jan 9, 2018, at 3:00 PM, Ralph Goers wrote:
>
> Maybe, but the point is that the batch is managed by the appender, so there
> is no need for a new method in the Appender interface.
>
> Ralph
>
>> On Jan 9, 2018, at 2:20 PM, Matt Sic