--- trunk/run.pl 2006/11/03 20:56:21 774 +++ trunk/run.pl 2006/11/05 12:28:37 775 @@ -135,6 +135,12 @@ $log->info( "-" x 79 ); +my $log_file = 'log'; + +if (-e $log_file ) { # && -s $log_file > 5 * 1024 * 1024) { + $log->info("moved old log with ", -s $log_file, " bytes to '${log_file}.old'"); + rename $log_file, "${log_file}.old" || $log->logwarn("can't rename $log_file to ${log_file}.old: $!"); +} my $estcmd_fh; my $estcmd_path = './estcmd-merge.sh';