Vesa, On Wed, 06 Nov 2002 18:39:42 GMT Vesa wrote:
> Is it possible to empty (rotate) logs manually and how > without booting? > > I'm using Bering RC4. Yes to both. Emptying and rotating are very different though... To empty a particular log, use: :> /var/log/the_log_file The logs get rotated by /etc/cron.daily/multicron-d . If you don't mind updating the system time and running the savelog-sh-httpd script at the same time, you should be able to run: run-parts --report /etc/cron.daily or: /etc/cron.daily/multicron-d -d to rotate the logs. Both are untested; use at your own risk. --Brad ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
