Does property substitution work for file names in logging subsystem in EAP 6.0?

Solution Verified - Updated -

Issue

We would like to use a JBoss EAP property to substitute a file name in logging subsystem, for example:

<size-rotating-file-handler name="FILE_SIZE" autoflush="true">
    <file relative-to="jboss.server.log.dir" path="${jboss.server.name}-${jboss.host.name}.log"/>
</size-rotating-file-handler>

But the file being generated isn't having the property substitution being done as it is creating files with name ${jboss.server.name}-${jboss.host.name}.log. Do we have this feature in EAP 6?

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.0
    • 6.0.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.