Skip to content

apache: Fix logs still going into /var/log files

Closes: #2264 (closed).

  • There was an error in the earlier patch the make apache log into journald. Configuration for TLS sites still contained ErrorLog and CustomLog directives. Remove them.

  • There is also file with CustomLog directive that logs for other vhosts.

Tests:

  • In a container, apply the patch, run setup and start FreedomBox. Apache app is updated to new version. Apache web server is reloaded. The other-vhosts-access-log configuration is disabled.

  • On a production machine, remove the directives in freedombox-tls-site-macro.conf and disabling other-vhosts-access-log stopped the logging into /var/log/apache2/ directory.

Signed-off-by: Sunil Mohan Adapa sunil@medhas.org

Merge request reports

Loading