From: Ralph M. <ral...@gm...> - 2008-04-22 18:31:54
|
On Tue, Apr 22, 2008 at 1:22 PM, Troy Carpenter <tr...@ca...> wrote: > On Tuesday 22 April 2008 10:57:50 am Gregg Liming wrote: > > > > > I can see reasons for both behaviors. So, perhaps introduce an ini > > parm, log_file_mode, that would control whether it is replace or > > append--with "replace" being the default since it already is (thereby > > not impacting users that may already rely on the default behavior). > > > > Gregg > > Make it a bit more complicated...add a third behavior to have it back up > the > old console file at startup and start a new one. Have a ini variable to > specify how many backups to keep. This would increase startup time if the > console log is big. It shouldn't take too much time. Don't copy, just rename: rm log.3 mv log.2 log.3 mv log.1 log.2 mv log log.1 Ralph Mitchell |