JBoss log4j log files using RollingFileAppender not rolling after configured size limit is reached

Solution Verified - Updated -

Issue

  • log file size is about 300MB with MaxFileSize set to 5MB
  • rhq-server-log4j.log is not rolling based on the file defaults
  • server.log is not rolling at specified size limit

Environment

  • Red Hat JBoss Middleware product using Apache Log4j
    • Red Hat JBoss Operations Network (JON) 3
  • Log4j configuration with an appender using RollingFileAppender

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.