Meaningless Drivel is fun!*
The moose likes JBoss/WildFly and the fly likes Query related to periodic-rotating-file-handler in jboss-logging.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Query related to periodic-rotating-file-handler in jboss-logging.xml" Watch "Query related to periodic-rotating-file-handler in jboss-logging.xml" New topic
Author

Query related to periodic-rotating-file-handler in jboss-logging.xml

Samir Banerjee
Ranch Hand

Joined: Jun 21, 2010
Posts: 72
So I need to achieve two things :
1) Log files should be rotated at 12 AM instead of 12 PM
2) Also when rotation happens the file name is changed like filename.log.[date]. I need to use .log as the extension.

My current entry is something like this :



Are above two points possible? I am using jboss-6.0.0.
Thanks in Advance!

Regads,
Aniket
Samir Banerjee
Ranch Hand

Joined: Jun 21, 2010
Posts: 72
Does anyone has any idea about this?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Query related to periodic-rotating-file-handler in jboss-logging.xml
 
Similar Threads
JBoss' embedded tomcat not Logging
Logging
How to configure a separate log file(Log4j) for a specific application in JBoss?
server.log showing INFO even after jboss-log4j.xml configured to ERROR mode. Please help
server.log in JBoss 6