To reduce disk writes or silence access logs on a local lab server, update your Apache configuration in /etc/apache2/ (note that Ubuntu/Debian Apache 2.4 uses conf-available/ and 000-default.conf instead of legacy conf.d/ and default):
1. Disable the global vhost access log config:
sudo a2disconf other-vhosts-access-log
2. Inside your VirtualHost files (/etc/apache2/sites-available/000-default.conf and default-ssl.conf), comment out CustomLog:
Operational Warning: You can silence errors with ErrorLog /dev/null on disposable test VMs, but in staging or production keep ErrorLog active (or raise LogLevel warn) so crashes, permission failures, and TLS errors remain diagnosable.