Changing the location of server.log to custom log directory in JBoss EAP 6/7 standalone mode

Solution Verified - Updated -

Issue

  • How to create a custom log directory in JBoss EAP 6 standalone mode?
  • How do I output server.log to customer directory other than ${jboss.server.log.dir} ?
  • How to change the location of server.log file to different a location from default one ?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x
    • 7.x
  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.x RPM Installation
  • Red Hat Single Sign-On
    • 7.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