HOW TO manually clear entries from log files as cron job ineffective in removing old logs.

i have saved the option "Discard access logs older than" to remove clear log entries older than 1 day.. i tried manually running the cron. poormans cron module, settup a cronjob from the control panel of the site hosting provider..all run successfully without any hitch or displaying any, any ( not a single error) sort of errors.. but still the damned log entires of 5 days r still there.. pls be generous in offering some help to me as i am stuck with thisfor the past 5 days..
pls tell me how to manually clear entries from log files

Comments

garg_art’s picture

I have hundreds of pages of log and just cant find a way to clear them. I disabled cache, run /update.php and run /cron.php and set to discard entries older than 1 hour.

I still can not get rid of log entries from the days of world war 1.

I am on Drupal 5.7

Surely I am doing something wrong but can not figure out what it is.

Thanks and Regards

ikati’s picture

I'm on Drupal 6.x , but same problem. No matter what I do, can't clear the logs.

It would be nice to be able to clear the logs after you've done work on the site, because your logs are filled with your entries. I prefer to see real errors / problems with the site most of the time.

Is there anyway to flush the logs?

Lynne

gooddesignusa’s picture

I would love to know how to clear the logs. After doing a lot of testing i would like to clear the logs before handing over the webpage to the client and going live.

edit:empty the watchdog table via phpmyadmin.