• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

overwhelming DEBUG info during deployment

 
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, friends!
I'm using Tomcat 5 (last version).
It may sound like a stupid question but I could not trace the answer by myself.
I am developing rather big application and learning at the same time.
I incorporated log4j through servlet into the application. It's properties like following:
log4j.rootLogger= ERROR, A0
log4j.logger.login =DEBUG, A0, A1

log4j.appender.A0 = org.apache.log4j.ConsoleAppender
log4j.appender.A0.layout = org.apache.log4j.PatternLayout
log4j.appender.A0.layout.ConversionPattern=%p %t %c - %m%n
log4j.appender.A1 = org.apache.log4j.FileAppender
log4j.appender.A1.File = C:/EMIR/logs/db_log.txt
log4j.appender.A1.Append = true
log4j.appender.A1.layout = org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern= %d{HH:mm:ss} %-5p [%c{1}] %m%n
Honestly. i don't think that log4j is resposible for what is happening because i played with the properties and it did not have any effect.
When I deploy the app. (it still under development so i use 'ant context' 'ant undeploy' 'ant reload' etc) I am getting stunning volume of DEBUG output from somewhere, something like this:
DEBUG - start PrefixMapping(..)
...
...
DEBUG - pushing body Text (,...)
...
Just a lot of lines. Deployment takes about 1 min. just to pull all this rubbish.
My question is: do you, guys have any ideas?
Where it coming from and how fix it, i never had it before.
:roll:
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic