How to rotate the stdout file daily or periodically in JBoss windows service.

Solution Unverified - Updated -

Environment

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

Issue

  • Is there a way to rotate the stdout file generated by JBoss windows service.

Resolution

  • Jakarta commons daemon process runner are available for JBoss EAP 6 on windows, there is no mechanism available to rotate the standard output/error logs. There is a jira opened regarding the issue.

    1) It is recommended to review the logging configuration, to ensure that the standard output log does not become too large.

    2) Configure JBoss logging so that less logging data is sent to the CONSOLE appender.

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.