Hi,
I am currently using log4j2.0 and I have implemented Marker (SYSLOG_MARKER)
for deciding the destination of a log to be localfile log or syslog. But
with this approach all the existing logs in the system (~5000) will need
manual decision and addition of marker to every single log. Is there a
If I understand you correctly, you have an existing application that logs
events in about 5000 different places, so you don’t want to have to modify that
code.
Without modifying the code the only way to filter the events is on somehow
find something wiithin the message itself. If you can add
Gee whiz, that wasn’t very clear. Let’s try again.
Without modifying the code the only way I can think of to filter the events is
to find something within the message itself to filter on. If you can add the
marker only to the events you want routed then the configuration you have below
will