Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-502

Production Logging Configuration Should Set The Root Logger to INFO

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 4.2.0.GA, 4.2.0.GA_CP01 , 4.3.0.BETA1, 4.3.0.BETA2, 4.3.0.BETA3, 4.3.0.BETA4
    • System
    • None
    • Release Notes, Compatibility/Configuration
    • Low

      The root logger for the production server configuration's conf/log4j.xml file has no set priority. This means that DEBUG is used by default which in turn means that you have to enumerate categories to turn logging off rather than turn it on. Production system's likely don't need DEBUG level logging, so the root logger's severity/priority should be INFO, otherwise, we could run into problems with 3rd-party libraries (like Hibernate for example) that generate lots of DEBUG-level logging in production if they are not specifically changed with a category statement.

              rhn-support-jawilson Jimmy Wilson
              rhn-support-jawilson Jimmy Wilson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: