View Full Version : search logs

07-15-2004, 11:50 PM
I do not need logs without a search fraze - I have a lot of them, So I need to

delete FROM `logs` WHERE l_includes = ''

It should be nice, if in config there is an possibility to make log files only with search fraze - not all logs.


07-16-2004, 04:17 AM
You can easily fix this in phpdig. Just find the following statement in config.php:define('PHPDIG_LOGS',true); and replace it with:define('PHPDIG_LOGS',false);

07-16-2004, 07:51 AM
Yes, I know this option
this disable logs.

But I want logs.

I only do not want rows in database with empty search term.
At present when the search.php is loaded 1 row is added to database. but I do not want stats - how many times search.php is loaded.
I only need to know search terms.

Because of that -
delete FROM `logs` WHERE l_includes = ''

I think, it is no problem to insert this code to function with special option in config.