tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Giesen Giesen" <gies...@gmail.com>
Subject org.apache.juli.FileHandler on Shared Tomcat Hosting?
Date Wed, 12 Jul 2006 15:04:30 GMT
Has anyone had any luck using org.apache.juli.FileHandler on a shared
Tomcat hosting provider? I isolated this to a trivial test application
that logs perfectly on my dev system (to
C:\apache-tomcat-5.5.17\logs), but on my shared hosting provider, the
log files just don't show up.

log4j works perfectly, btw, but some software libraries I use
(Facelets) require java.util.log and don't provide a log4j option.

Does anyone have any experience with this issue?

Specs
	Apache Tomcat 5.5.15
	Java 1.5.0.x
	log4j 1.2.13

logging.properties: (I've indented for clarity in this message)
	handlers = 1root.org.apache.juli.FileHandler,
2catalina.org.apache.juli.FileHandler,
3facelets.org.apache.juli.FileHandler,
4test.org.apache.juli.FileHandler
	
	# ------------------------------- Handlers
	1root.org.apache.juli.FileHandler.level = FINEST
	1root.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
	1root.org.apache.juli.FileHandler.prefix = rootprefix.
	
	2catalina.org.apache.juli.FileHandler.level = FINEST
	2catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
	2catalina.org.apache.juli.FileHandler.prefix = catalinaprefix.
	
	3facelets.org.apache.juli.FileHandler.level = FINEST
	3facelets.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
	3facelets.org.apache.juli.FileHandler.prefix = faceletsprefix.
	
	4test.org.apache.juli.FileHandler.level = FINEST
	4test.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
	4test.org.apache.juli.FileHandler.prefix = testprefix.
	
	# ------------------------------- Loggers
	.level = WARN
	.handlers = 1root.org.apache.juli.FileHandler
	
	org.apache.catalina.level = WARN
	org.apache.catalina.handlers = 2catalina.org.apache.juli.FileHandler
	
	org.test.level = FINEST
	org.test.handlers = 4test.org.apache.juli.FileHandler
	
	facelets.level = FINEST
	facelets.handlers = 3facelets.org.apache.juli.FileHandler

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message