Posted by transmitter on October 5, 2010 at 1:57am
Hi there,
I'd like to have shared logfiles from the apache.
At the moment, aegir is putting all my logfiles together in a big one.
But I'd prefer two logfiles for each vhost: vhost-access.log and vhost-error.log
Is there a setting for this I oversaw?
Thanks in advance
Bye, Transmitter
Comments
vhost.tpl.php
There's a file vhost.tpl.php in /var/aegir/.drush/provision/http/apache that's used to create the vhost entries, I think you can change it in there.
Is it a good idea to change
Is it a good idea to change the core files?
How about the updates?
I guess I don't do sth wise in that case, do I?
You just need to track it
You just need to track it some how and remember to switch it back after you upgrade. I would suggest you try to develop a module that could be included in the project that enables it per site in the interface, but also has a section that allows people to view the logfile. I could see this being valuable. I would collaborate on it.
--
Christian
I'd like to see this, too.
I think it would be quite helpful.
Drush Make to the Rescue
You could maintain your own fork of the Aegir Drush Make file and include your patch there. This way everything is tracked and you don't need to worry about syncing whole trees, even though git makes that easy.