I've a standard Apache Config. Log files are stored under /var/log/apache2. When the directory /var/log/apache2 exist apache can't start. Shown Errors:
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
(2)No such file or directory: AH02291: Cannot access directory '/var/log/apache2/' for main error log
(2)No such file or directory: AH02291: Cannot access directory '/var/log/apache2/' for error log of vhost defined at /etc/apache2/sites-enabled/000-default.conf:1
AH00014: Configuration check failed
Action 'configtest' failed.
The Apache error log may have more information.
I don't want to create a tmpfs, folder or whatever under /var/log/apache2 when the path is missing
Can I tell apache to ignore this error? Or Can I tell apache to take a fallback Log File Path like /tmp?