size database

bertboerland@ww... - April 7, 2006 - 10:44
Project:Bad Behavior
Version:4.6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:dpangier
Status:closed
Description

The size of the badbehavior_log.MYD keeps growing on my system:

-rw-rw----  1 mysql mysql 28715212 Apr  7 11:45 bad_behavior_log.MYD

Is there an easy way to limit this growth (if not, should it be configurable)?

What would the sql syntax be if I would like to clean this table by hand?

#1

dpangier - April 7, 2006 - 14:13
Assigned to:Anonymous» dpangier

The setting in "settings>bad behavior>Logging Duration" controls the number of days that the logs are held for, decrease this number to a figure appropriate for the spam volumes you are receiving.

Note "Verbose logging" logs every page access for diagnostic reasons, this may seriously effect your log table size.

The logging data can be safely cleared at any point with a sql command of the form "delete from bad_behavior_log;".

#2

bertboerland@ww... - April 7, 2006 - 15:15
Status:active» closed

thanks

 
 

Drupal is a registered trademark of Dries Buytaert.