Set the root logger to OFF or another high level e.g. ERROR, that you would like to. Then provide the Level and Appenders to a logger that corresponds to a high level package name.
For example if your package names are com.abc.xyz and com.abc.mno, you could replace the your_app_high_level_package_name with com.abc. log4j.rootLogger=OFF log4j.logger.your_app_high_level_package_name=ALL, A1, A2 -----Original Message----- From: Thomas Forrester [mailto:[EMAIL PROTECTED] Sent: Friday, October 22, 2004 4:17 AM To: [EMAIL PROTECTED] Subject: Need to stop 3rd party library debug log output mixing with mine Hi My application uses Log4J 1.2.8 and so does Apache Axis, whose libraries I am also using in my application. In my Log4j config file I put the following line: log4j.rootLogger=debug, stdout, FileApender The problem is that I get reams of debug logging statements from the axis libraries too. Please can someone let me know how to configure, so that I can stop receiving the axis debug statements and only receive those from my application? Many thanks Tom --------------------------------------------------------------------- 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]
