Use of different types of Logger
Issue
- What is the difference between using
java.util.logging.Loggerandlog4j Logger? - What happens if I have some classes that uses
log4j Loggerand other classes that usesjava.util.logging.Logger? Do they read the same logging configuration fromstandalone.xml? - What is the best practice of using Logger? Which one to use?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
