You could add -Dlog4j.debug and the it should print to standard output
when it is being configured.  It may also have other clues to help
you.

On Wed, 16 Mar 2005 14:54:27 +0000, John Hunsley <[EMAIL PROTECTED]> wrote:
> It was deployed with a war file,  when I boot  tomcat I changed the
> webapp dir to ROOT but whilst the app is running the war file doesnt
> re-deploy so I guess it is not reloading.
> 
> John.
> 
> James Stauffer wrote:
> 
> >It is possible that your web app is being reloaded?  Each reload could
> >cause it to be configured again.
> >
> >On Wed, 16 Mar 2005 13:24:29 +0000, John Hunsley <[EMAIL PROTECTED]> wrote:
> >
> >
> >>Yes I get the same in txttools-web.log. I guess it is auto configured as
> >>I just followed the instructions  and created the log4j.properties file.
> >>I have made sure I do not call anything other than ;
> >>
> >>logger.warn(); or,
> >>
> >>if(logger.isDebugEnabled() )  logger.debug();
> >>
> >>in my code, I do not set logging levels or anything else in my code, I
> >>will check to see if there is anywhere else I am configuring the logger.
> >>
> >>thanks,
> >>
> >>John.
> >>
> >>James Stauffer wrote:
> >>
> >>
> >>
> >>>Are the logs duplicated in txttools-web.log?  Are you possibly sending
> >>>logs to the console appender multiple times (at multiple levels)?
> >>>
> >>>Is it automatically configured or do you call code to tell it to use
> >>>your log4j.properties?  This sounds like it is being configured
> >>>multiple times.
> >>>
> >>>On Tue, 15 Mar 2005 16:02:19 +0000, John Hunsley <[EMAIL PROTECTED]> wrote:
> >>>
> >>>
> >>>
> >>>
> >>>>This happens on any logging statement, log4J is configured through
> >>>>Log4j.properties, the file loks like this;
> >>>>
> >>>>log4j.rootLogger=DEBUG, console , file
> >>>>
> >>>>log4j.appender.file=org.apache.log4j.FileAppender
> >>>>log4j.appender.file.File=txttools-web.log
> >>>>log4j.appender.file.layout=org.apache.log4j.PatternLayout
> >>>>log4j.appender.file.layout.ConversionPattern=%-5p [%t] %d{dd/MMM/yyyy
> >>>>HH:mm:ss,SSS} (%c) - %m%n
> >>>>
> >>>>log4j.appender.console=org.apache.log4j.ConsoleAppender
> >>>>log4j.appender.console.layout=org.apache.log4j.PatternLayout
> >>>>log4j.appender.console.layout.ConversionPattern=%-5p [%t] %d{dd/MMM/yyyy
> >>>>HH:mm:ss,SSS} (%c) - %m%n
> >>>>
> >>>>and then I set individual packages to WARN, DEBUG etc.....
> >>>>
> >>>>thanks,
> >>>>
> >>>>John .
> >>>>
> >>>>
> >>>>James Stauffer wrote:
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>Are you reloading any web apps?  How are you configuring log4j?
> >>>>>
> >>>>>On Tue, 15 Mar 2005 14:51:31 +0000, John Hunsley <[EMAIL PROTECTED]> 
> >>>>>wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>Hi there,
> >>>>>>
> >>>>>>Im running an app in Tomcat5.0 on Mandrake 10.1. my logging statements
> >>>>>>seem to grow over time. When I boot up tomcat the logging statements for
> >>>>>>each thread are displayed in catalina.out as they should, but after a
> >>>>>>while each statement prints out two or three times, the thread number
> >>>>>>and timestamps are the same. In time this grows and each statement is
> >>>>>>printed out about 50 times clogging my catalina.out file. When I run the
> >>>>>>app in tomcat on Windows this doesnt happen.
> >>>>>>
> >>>>>>Any idea why this phenomenon is occuring?
> >>>>>>
> >>>>>>John.
> >>>>>>
> >>>>>>---------------------------------------------------------------------
> >>>>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>>>>For additional commands, e-mail: [EMAIL PROTECTED]
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>---------------------------------------------------------------------
> >>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>>For additional commands, e-mail: [EMAIL PROTECTED]
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >>
> >
> >
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to