[EMAIL PROTECTED] Re: limiting log files' size

2006-07-12 Thread Joost de Heer
Mario Pavlov wrote: Hi guys :) I was searching the documentation for a while for some way to get my httpd-access.log limited by size but I didn't found anything... is there a way to limit my log files by size ? for example when the log file reaches 100Mbytes to stop growing and evry new

Re: [EMAIL PROTECTED] Re: limiting log files' size

2006-07-12 Thread Michael Gale
Hello, On Linux there is an app called logrotate, this looks after all the logs under /var/log directory. It has a copytruncate feature: copytruncate Truncate the original log file in place after creating a copy, instead of moving the old log file and optionally creating a

Re: [EMAIL PROTECTED] Re: limiting log files' size

2006-07-12 Thread Brandon Fosdick
Michael Gale wrote: What does FreeBSD use to rotate it's logs, it most likely has the same features ? The base system has newsyslog, which does most everything logrotate does. But, logrotate is in the ports tree in case you need/want it.