fixed a bug in ob_exception.php, added new config log_queries