Hi All,
I got the issue fixed. Change the configuration of log4j2.xml as below:
Instead of name="package" gave name="EventLogger" not sure how to configure,
if I would like to have different Appenders for different Event Logs in
different package.
=================
<Logger name="EventLogger" level="info" additivity="false">
<AppenderRef ref="Routing"/>
</Logger>
=================
Also could anybody help in how to avoid the event type and event id to come
in the logs, but only the message???
Regards,
Parkirat Singh Bagga.
--
View this message in context:
http://apache-logging.6191.n7.nabble.com/Separate-the-event-logs-generated-by-EventLogger-Logs-How-tp50112p50118.html
Sent from the Log4j - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]