How to change the logging setting of boot.log in JBoss

Solution Verified - Updated -

Issue

  • How to turn down the logging level of boot.log in JBoss
  • How to change the log file path of boot.log in JBoss
  • I would like to change the logging setting of boot.log in JBoss. How can I do it? Is it able to configure it in $JBOSS_HOME/server/$PROFILE/conf/jboss-log4j.xml?
  • I would like to disable the console logging. I removed the CONSOLE logging setting from $JBOSS_HOME/server/$PROFILE/conf/jboss-log4j.xml but JBoss still output the console logging during the boot process. How can I disable it?

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 4.x
    • 5.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