PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Mod Requests

Reply
 
Thread Tools
Old 07-16-2004, 12:50 AM   #1
sf44
Green Mole
 
Join Date: Jul 2004
Posts: 9
search logs

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.

Slavomir.
sf44 is offline   Reply With Quote
Old 07-16-2004, 05:17 AM   #2
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
You can easily fix this in phpdig. Just find the following statement in config.php:
PHP Code:
define('PHPDIG_LOGS',true); 
and replace it with:
PHP Code:
define('PHPDIG_LOGS',false); 
vinyl-junkie is offline   Reply With Quote
Old 07-16-2004, 08:51 AM   #3
sf44
Green Mole
 
Join Date: Jul 2004
Posts: 9
Yes, I know this option
define('PHPDIG_LOGS',false);
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.


Slavomir.
sf44 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Understanding logs from web indexing kenazo How-to Forum 1 03-15-2004 12:06 PM
Clear logs from admin panel manfred Mod Submissions 2 02-25-2004 07:15 AM
1.6.2 fix for logs table Charter Mod Submissions 0 09-13-2003 02:49 PM


All times are GMT -8. The time now is 05:24 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.