Hello, I would like to make a suggestion to apache web server developer and to open a discussion related with the way apache is working currently when a directory where apache must create logs files does not exists.
Currently if I create a virtual host and set there Error/Custom Log entries to create logs files under some path like /var/www/mydomain-logs, but this directory does not exists and I restart apache or do graceful, apache will stop working, because of this error. In this case we see error message in error logs where it says that logs directory does not exists. My suggestion is this. Let apache start logging in default apache logs directory if some of defined logs directory paths does not exists and let apache log this as a warning or error in errors log. Also let apache start working successfully and not fail if mentioned logs directory does not exists. My point is that this is a common mistake and if someone has 1000 sites on a server, this will cause all sites to be down because of 1 missing directory. I think this could be a good improvement related with logging stuff. I will be happy to hear your opinions for this. Best regards, Ali
