How to disable overwriting console.log after JBoss EAP 6 restart while running as a service?

Solution Verified - Updated -

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Issue

  • How could we disable overwriting console.log file after JBoss restart in JBoss EAP 6.0.1 and above versions in standalone and domain mode?

Resolution

  • The console log output isn't directly managed by the JBoss logging subsystem so any modification of how it is created has to be done through the service scripts. But the console log should just be a duplicate of what JBoss is already logging to the server log as well so it's generally not used.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

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