#2 Aug 30, 2005 02:00
I've never enabled that feature, but I'll give you another hack that I think helps with server work load. Stop logging hits that are either robots or syndication! Maybe other people care about those hit types but I sure don't. I mean, do I really care that a robot indexed me or someone told their aggregator to update? You get hit by aggregators even if you have no new posts, so why bother? My opinion, and others probably have a different view. Anyway here's the hack to stop logging those hits. (BTW I'm assuming not logging a hit means your server works a teeny bit less.)
Open b2evocore/_functions_hitlogs.php and find this bit:
EDIT: sorry, but I submitted when I wanted to preview. It's a drop in the bucket, but *I think* every little bit helps. You lose the stats data, but - as I said - since it seems meaninless to me I figured why log it.
If you want to get really smart about it you would remove "log_hit()" from every file in your xmlsrv folder. That will stop rss hits from calling this function in the first place.
If you don't care about stats data AT ALL then remove that function call from your the xmlsrv folder AND your skin's _main.php file. I personally like to see referers and search engine hits, so I've left it intact. Obviously you make the call that's right for you.