How to use Periodic size rotating log handler in JBoss EAP

Updated 2015-04-14T06:35:36+00:00

Issue

  • Will it be possible to also set the number of backups that the periodic rotating file handler creates?
  • There is already a feature of "size rotating file handler", but what we want is to rotate log files based on time period as well.
  • How to create PeriodicSizeRotatingFileHandler in EAP 6?
  • How to limit the number of log files to keep only the last 30 days in JBoss EAP 6?
  • Is there any handler which contains size-rotating and periodic-rotating in JBoss EAP 6?
  • Is it possible to redirect the JBoss logging to other file using PeriodicSizeRotatingFileHandler in JBoss EAP 4.3.0.GA_CP10 ?
  • looks like the log is throwing lot of stuff want to rotate log and with smaller chunks
  • What is CLI command to configure log rotation in EAP 6 ?

Environment

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

Subscriber content preview. For full access to the Red Hat Knowledgebase, please log in.

Not a subscriber? Learn more about the benefits of Red Hat Subscriptions.