Limit number of server logfiles

Hi

I am relatively new when it comes to sunas, but I am trying to solve a problem before putting our system into production. I need to limit the number of server.log files for a domain on the appserver. I am running 8.2 PE on WinXP on the developer machines, and 8.2 PE on Solaris SunOS 5.10 for test servers, and I believe we are going to use EE on Solaris in the production environment. So I am looking for a solution for all of them. I have configured the max size for each log file, but I have not been able to find out how I limit the number of files.

Anyone please :)

[593 byte] By [RoarEngena] at [2007-11-27 6:49:09]
# 1
Keep the log rotation time in the logger settings of the domain as 1440(24hrs) and try. This should generate 1file/day ulike the size limit.
activexperta at 2007-7-12 18:22:46 > top of Java-index,Application & Integration Servers,Application Servers...
# 2

Hi, thank you for the tip, but I am not sure if this is the answer to my problem, what I want to do is to specify that the server should store only the 5 newest server.log files, to SunAS from filling up the disc with logfiles. As far as I can understand the time limit in the logging options will note stop this from happening eighter. Of course I can always set up a scheduled job that deletes old files, but that will cause a bit of a nightmare for the people that is going to maintain the system.

RoarEngena at 2007-7-12 18:22:46 > top of Java-index,Application & Integration Servers,Application Servers...