man logrotate
looks like it's supposed to get this job done.
logrotate with a config file just addressing your app's log files, fired
nightly by cron, looks like a simple cure.
Brian Brunner brian.t.brunner@xxxxxxxxxxxxxxx (610)796-5838 >>> dballester@xxxxxxxxxxxxxx 10/10/03 07:01AM >>> Hi: Anybody knows how to tell to syslog to swith a log file. We have developed an application that sends logs to syslog ( the application is GPL, of course :D ) but i'm interested in force switch log every night. Any tips? Man sysllog.conf don't show anything :( TIA and regards -- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept for the presence of computer viruses. www.hubbell.com - Hubbell Incorporated ********************************************************************** |