Use of different types of Logger

Solution Unverified - Updated -

Issue

  • What is the difference between using java.util.logging.Logger and log4j Logger?
  • What happens if I have some classes that uses log4j Logger and other classes that uses java.util.logging.Logger? Do they read the same logging configuration from standalone.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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content