7 Replies Latest reply on Mar 15, 2010 7:33 AM by stefan wagner

    Exclude stdout from certain Lib

    stefan wagner Newbie

      We are using alibrary which has some System.out.println("bla-bla") which we don't want to see on the console and in the log-file.

      Is there a way how to exclude this libs output?

       

      Lets say the lib is called org.mylib

      I tried in jboss-log4j.xml with:

         <category name="org.mylib" additivity="false">
            <priority value="WARN"/>
           <appender-ref ref="CONSOLE"/>
         </category>