Is it possible to make apache not dependant on log existance?
If there is a log file that cannot be opened, apache quits after restart or even reload. Quite an unplesant behaviour because one needs to be super careful when manipulating vhosts on production server. Does it need to be this way? Interesting is that if there is just a syntax error in a vhost reloading apache does not quit it.
$ sudo /etc/init.d/httpd reload
[Thu Jan 10 19:25:02 2013] [notice] SIGHUP received. Attempting to restart (2)No such file or directory: httpd: could not open error log file /var/www/patron/logs/error_log. Unable to open logs
And apache is not running anymore :(.