How can I erase DEBUG logging messages from Tomcat console?

Discussions

Web tier: servlets, JSP, Web frameworks: How can I erase DEBUG logging messages from Tomcat console?

  1. Hi, I test my web application with tomcat 4.1.24.
    Personally, I use my logging class using log4j to display
    my web application debug messages.
    But When I start tomcat server, I also see so many
    DEBUG messages from tomcat's DEBUG messages like
    xml file validation messages.
    How can I erase such messages?
    How can I see only my DEBUG message in the tomcat console
    with my Logger class?
    Thanks in advance.
  2. in your log4j prop file set up

    log4j.logger.org.apache = WARN
  3. Thansk, but It's not worked..[ Go to top ]

    Thansk for your reply and I've tired in that way..
    but Tomcat DEBUG messages are still displayed in console(catalina.out)
    I think it's related to common-loggin api of apache..
    Anyone could help this out..?