Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE : Problems with Log4j Tomcat and Mac os X



Im using tomcat 4.1.24 and log4j 1.2.8.

Its working fine for me.

Here is my log4j.properties which is in the directory
Webapps/<mywebapp>/WEB-INF/classes

log4j.rootCategory=DEBUG, A1, A2

log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%p %c - %m%n


log4j.appender.A2=org.apache.log4j.RollingFileAppender
log4j.appender.A2.File=/Users/david/Desktop/Tomcat-4.1/logs/infobreves.log
log4j.appender.A2.Append=false
log4j.appender.A2.layout=org.apache.log4j.PatternLayout
log4j.appender.A2.layout.ConversionPattern=%p %t %c - %m%n

David.



-----Message d'origine-----
De : Neil McGrane [mailto:email@hidden]
Envoyi : jeudi 31 juillet 2003 16:14
@ : email@hidden
Objet : Problems with Log4j Tomcat and Mac os X


I cannot get log4j to write the log file, the messages appear on the
console....is there something in the Mac os X version that prevents this?

Thanks

Neil
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.