Do not use 'category'.
In log4j 1.2, the Category class has marked as being deprecated and has been replaced by the Logger class. I am using log4j-1.2.14.jar and category didn't work for me.
Example:
Was:
In log4j 1.2, the Category class has marked as being deprecated and has been replaced by the Logger class. I am using log4j-1.2.14.jar and category didn't work for me.
Example:
<logger name="com.test.pkg1"><level value="INFO"/></logger>
<logger name="com.test.pkg2"><level value="INFO"/></logger>
Was:
<category name="com.test.pkg1"><priority value="INFO"/></category>
<category name="com.test.pkg2"><priority value="INFO"/></category>
Comments