Configure application logging for Tomcat
			1 post
			 • Page 1 of 1
		
	
Configure application logging for Tomcat
Create following file:
and add following
It's also possible to add the logging.properties file in your application jar or to add the classes directory in your war file. Simply customize your build process.
Read More about tomcat logging.
Read more about JVx logging.
			
		- Code: Select all
- WEB-INF/classes/logging.properties
and add following
- Code: Select all
- ########################################################################
 # HANDLER definition
 ########################################################################
 handlers = org.apache.juli.FileHandler
 ########################################################################
 # HANDLER configuration
 ########################################################################
 org.apache.juli.FileHandler.level = ALL
 org.apache.juli.FileHandler.directory = ${catalina.base}/logs
 org.apache.juli.FileHandler.limit = 10000
 org.apache.juli.FileHandler.count = 5
 #org.apache.juli.FileHandler.formatter = com.sibvisions.util.log.jdk.JdkLineFormatter
 org.apache.juli.FileHandler.prefix = myappname.
 ########################################################################
 # Package specifig log levels
 ########################################################################
 #com.sibvisions.rad.persist.level = ALL
It's also possible to add the logging.properties file in your application jar or to add the classes directory in your war file. Simply customize your build process.
Read More about tomcat logging.
Read more about JVx logging.
- 
				 
 Development@SIB
- Posts: 325
- Joined: Mon Sep 28, 2009 1:54 pm
			1 post
			 • Page 1 of 1
		
	

