What should we use in jboss-log4j.xml in order to turn on/off traces for our product - "category" or "logger" tag?
By default JBoss uses "category" in jboss-log4j.xml.
But as far as I know "category" is deprecated and "logger" should be used instead.
Why JBoss uses deprecated "category" tag in a new product?
Habit, I suspect. I still to use category
also. It behaves exactly the same as logger
, there really is no difference.