Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Configuring tomcat for internal log with log4j!

I am using apache-tomcat-6.0.18 and want to configure log4j for tomcat internal logging.

I gone through the tomcat site Logging in Tomcat. But i didn't understood the STEP 3,4,5.

What is the extras components? How can these be helpful for Logging?

If someone can guide me Step By Step will really help !!!

Please guide me on this?

like image 806
RajeshS Avatar asked Nov 29 '25 03:11

RajeshS


1 Answers

If you don't need to build Tomcat from source then get the tomcat-juli.jar and tomcat-juli-adapters.jar from this location: http://mirrors.enquira.co.uk/apache/tomcat/tomcat-6/v6.0.32/bin/extras/

and replace the .jar files as per the instructions.

$CATALINA_HOME is where your Tomcat 6.0 is installed.

Hope this helps.

like image 116
DaveRead Avatar answered Nov 30 '25 17:11

DaveRead



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!