For Apache, the httpd.conf should contain a CustomLog directive (for access logs) and an ErrorLog directive (for error logs). Commenting both of those lines out should disable logging.