You can configure Tomcat logs to use log4j. See the Tomcat docs for details.

You'll need to Google for log4JNA for how to set up that particular appender.

Mark


On 12/04/2019 20:59, GERALD EICHELBERGER wrote:
Thanks for the response. Can the server logs be setup this way or it is just 
for application logs?

Is there any place I can go to learn how to do this?

Gerald

-----Original Message-----
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Wednesday, March 27, 2019 10:31 AM
To: users@tomcat.apache.org
Subject: [EXTERNAL] Re: Windows Event Log

  WARNING:This is an external email that originated outside of our email 
system. DO NOT CLICK links or open attachments unless you recognize the sender 
and know that the content is safe!

On 27/03/2019 13:24, GERALD EICHELBERGER wrote:
Greetings, I am looking for assistance in determining if Apache Tomcat has the 
ability to have its events/logs to output to the Windows Event Log.

Out of the box? No.

Configure logging to use log4j and then add Log4JNA and it looks to be
doable.

This is now a requirement for my organization. If this is not available where 
can I go to get documentation so that I can create a BRJ for this requirement?

BRJ?

I am currently working with Tomcat version 7.0.93 in a Test and Production 
environment on Windows Server 2012.

With Tomcat 7 you'll probably want to use log4j rather than log4j2 but
still with log4JNA.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to