in reply to How can I roll over my logfiles automatically at midnight?

To elaborate on what JavaFan said, log4perl, to my knowledge, has no built-in mechanism for actually rotating files. While you may have set-up the log4perl config to handle rotation, you will need another script or utility to actually perform the file movement. logrotate is one such utility. You could also write your own shell/perl script to do what you want, and set-up cron directly to run it.

fnord

  • Comment on Re: How can I roll over my logfiles automatically at midnight?

Replies are listed 'Best First'.
Re^2: How can I roll over my logfiles automatically at midnight?
by Khen1950fx (Canon) on Nov 12, 2010 at 13:21 UTC