Im new to log4cxx so please excuse if this is a known bug I didnt see anything like it on the bug list.
I am setting up a RolingFileAppender with a MaxBackupIndex of 15. When I fill up all 15 files and reach my MaxFileSize on the 15th file (i.e. the one without a number on it), that 15th file is deleted and a new log #15 is created and used. So after a few days Ill have old files 1-14 and one very up to date file 15, but will have lost all my logs from the time the 14th was filled to the latest 15th was started.
Im assuming this is not expected behavior! File MaxBackupIndex should be deleted and files 0 - MaxBackupIndex -1 should be renamed 1-MaxBackupIndex , right? We are using 0.9.7 if it matters.
thanks,
Chuck
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
