Re: How do I get rid of this?
Re: How do I get rid of this?
- Subject: Re: How do I get rid of this?
- From: Kieran Kelleher <email@hidden>
- Date: Thu, 10 Mar 2005 10:31:37 -0500
James,
Maybe this log4j with WO info might help.....
http://homepage.mac.com/kelleherk/iblog/C1216817469/E2136921646/index.html
When using Project Wonder I have found that I need to set the default logging to minimal and TURN ON debug only where I need it. Otherwise I get all of Wonder's debug output and Wonder does not seem to obey specific Wonder class logging level statements in _my_ log4j properties file ..... something to do with ERXLogger, and I have not had time to figure it out yet myself since the guys on the Wonder disc list seem to not have time either to help Wonder newbies. Here is extract of my current logging file in a project with Wonder included....
# Log4j configuration file.
log4j.rootCategory=WARN, A1, A2
# Available levels are DEBUG, INFO, WARN, ERROR, FATAL
#
# A1 is a ConsoleAppender
#
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%r %-5p [%t] (%C, %M, %L) - %n%m%n%n
#
# A2 is a DailyRollingFileAppender
#
log4j.appender.A2=org.apache.log4j.DailyRollingFileAppender
log4j.appender.A2.file=/tmp/log4j_cheetah.log
log4j.appender.A2.datePattern='.'yyyy-MM-dd
log4j.appender.A2.append=true
log4j.appender.A2.layout=org.apache.log4j.PatternLayout
log4j.appender.A2.layout.ConversionPattern=%-5p %d{ISO8601} [%t] (%c) - %m%n
# Logging restrictions:
#--------------------------------------------
# WOCOmponent logging
log4j.logger.HotlineProgramDetail=DEBUG
log4j.logger.CTPreMoverProgram=DEBUG
log4j.logger.Locations=DEBUG
#log4j.logger.WzdNC_SelectZips=DEBUG
log4j.logger.WKObjectGroupPage=DEBUG
log4j.logger.LocationPage=DEGUG
#--------------------------------------------
# Application Classes
log4j.logger.Application=DEBUG
#log4j.logger.Session=DEBUG
#--------------------------------------------
# EO Class logging
#log4j.logger._CTAddress=DEBUG
#log4j.logger.CTAddress=DEBUG
#log4j.logger._CTTrader=DEBUG
#log4j.logger.CTTrader=DEBUG
#log4j.logger._CTCustomer=DEBUG
#log4j.logger.Customer=DEBUG
#log4j.logger._CTGeoRegion=DEBUG
#log4j.logger.CTGeoRegion=DEBUG
-Kieran
________________________________________________________________
Blog: http://webobjects.webhop.org/
On Mar 9, 2005, at 6:50 PM, James Cicenia wrote:
Do I get rid of this:
<x-tad-bigger>log4j:WARN No appenders could be found for logger (er.extensions.ERXLogger).</x-tad-bigger><x-tad-bigger>
</x-tad-bigger><x-tad-bigger>log4j:WARN Please initialize the log4j system properly.
</x-tad-bigger>
It comes before my application even loads????! And it is causing problems in jboss deployment too.
Thanks,
James Cicenia
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden