I am new to YAJSW and using yajsw-11.07 for wrapping the jboss-6 on ubuntu 12.04 LTS. But Date rollback is not working with logs. Actually I want to create logs datewise and keeps last 7 days logs, But this is not working in yajsw 11.07.
Configure Parameters that I used for wrapper are as follows:-
With these entries logs rollback is not working for new days, when jboss application is in continuous running mode.
Assume my application is started on 20131225(25-dec) by yajsw wrapper. For the next day i.e 20131226(26-dec) log file is not created automatically by wrapper.
These configuration parameters working fine and new date logs also created when I commented the 'wrapper.logfile.maxdays=7' parameter and keeping rest parameters same. In this case how can I restrict log files to rolled automatically back within 7 days and keeping logs only for past seven days ?
This problem is also appeared when I use YAJSW-11.04 with the same configuration parameters for logging.
Please help me out how this can be solved, so that I can rollback my logs within 7 days. Your help will be appreciated. Thanks for giving me your precious time in advance.
Log in to post a comment.