Hi Antonio,

Thank you for responding to my question . . .

I'm new to all this and my logger is not properly configured so I'm working
on this . . .

Currently, I have a log4j.properties file and logging.properties file in
WEB-INF/Classes Folder.  However, I'm not sure what the contents of these
files should be . . . the current contents are shown below:

****************  log4j.properties ********************

log4j.rootLogger=DEBUG, testAppender

log4j.appender.testAppender=
com.webmethods.sc.logging.log4j.WmDailyFileAppender

log4j.appender.testAppender.file=log/test1.log

log4j.appender.testAppender.datePattern='.'yyyy-MM-dd_HH_mm

log4j.appender.testAppender.Append=false

log4j.appender.testAppender.layout=com.webmethods.sc.log4j.PatternLayout

log4j.appender.testAppender.layout.ConversionPattern=%m%n

log4j.appender.testAppender.stdout.Target=System.out



log4j.rootLogger=warn, stdout

log4j.logger.org.hibernate=debug

log4j.logger.org.hibernate.type=info

log4j.logger.org.hibernate.tool.hbm2ddl=debug

******************************  logging.properties
**************************

handlers = *org*.*apache*.*juli*.FileHandler, java.*util*
.logging.ConsoleHandler

############################################################

# Handler specific properties.

# Describes specific configuration info for Handlers.

############################################################

org.apache.juli.FileHandler.level = FINE

org.apache.juli.FileHandler.directory = ${*catalina*.base}/logs

org.apache.juli.FileHandler.prefix = *servlet*-examples.

java.util.logging.ConsoleHandler.level = FINE

java.util.logging.ConsoleHandler.formatter = java.*util*
.logging.SimpleFormatter



I get these messages when I start Tomcat 5.5:

log4j:ERROR Could not find value for key log4j.appender.stdout

log4j:ERROR Could not instantiate appender named "stdout".

log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.Digester).

log4j:WARN Please initialize the log4j system properly.

Can you assist me in configuring the logger correctly?

Thanks,

Andy







On Fri, Oct 30, 2009 at 3:55 AM, Antonio Petrelli <
[email protected]> wrote:

> 2009/10/30 Antonio Petrelli <[email protected]>:
>  > 2009/10/30 Andy T <[email protected]>:
> >> I'm trying to apply Tiles in my Struts application for the first time
> >> and I'm getting this error:  "javax.servlet.ServletException:
> >> TilesContainer not initialized" when I execute test.jsp.  I'm using
> >> Struts 1.3 and Tiles 2.1.3.  Relevant code snippets of various files
> >> are shown below.
> >
> > Please post your log.
>
> I meant the *entire* log, from the start of the webapp to the error.
>
> Antonio
>

Reply via email to