No! Don't do it. You know this, because you've read the README. However, it's frequently useful to be able to get the full debug output from the PEAR DB layer, both for debugging connection issues (especially other people's, remotely) and for investigating tricky issues in the code.
Here's what you can do instead: $config['db']['debug'] = create_function( '$class, $message, $logtype, $level', 'common_log(LOG_DEBUG,"DB: $class / $message / $logtype");'); This causes ALL those messages to go to the normal StatusNet log output instead. You could expand on this by only calling common_log if $level is below a certain number, e.g. the infamous '5'. Apologies if I'm stating the obvious or people knew this already, but if that's the case I wish someone had told me before! Regards, Ciaran _______________________________________________ StatusNet-dev mailing list [email protected] http://lists.status.net/mailman/listinfo/statusnet-dev
