Re: [Koha-devel] Clearing log files best way?

2008-09-09 Thread Galen Charlton
Hi, On Tue, Sep 9, 2008 at 3:53 PM, Cindy Murdock <[EMAIL PROTECTED]> wrote: > I rotate mine with a nightly cron job which executes a script like this: > > #!/bin/bash > > /usr/sbin/apache2ctl stop Another approach would be to use logrotate. Regards, Galen -- Galen Charlton VP, Research & Deve

Re: [Koha-devel] Clearing log files best way?

2008-09-09 Thread Cindy Murdock
I rotate mine with a nightly cron job which executes a script like this: #!/bin/bash /usr/sbin/apache2ctl stop if [ -f /usr/local/koha/log/circ-rewrite.log.4 ]; then rm -f /usr/local/koha/log/circ-rewrite.log.4 fi if [ -f /usr/local/koha/log/circ-rewrite.log.3 ]; then mv /usr/local/koha

[Koha-devel] ibdata1

2008-09-09 Thread David Schuster
As I watch this file grow I am wondering how to clear it. I saw this on a mysql list, but wanted to get developer insight... March 2007 Location: Sweden Senior Member A very cumbersum way: 1.mysqldump all databases 2.Remove the ibdata1 file. 3.Start the mysqld process. It will now recreate th

[Koha-devel] Clearing log files best way?

2008-09-09 Thread David Schuster
As I have been playing around and reloading records deleting files etc... some of my Log files have gotten rather large. What is the best way to clear them without screwing things up? Thanks for your hints! You all are doing a great job and I hope to be able to "observe" on Friday! David Schu