Shared logfiles?

Events happening in the community are now at Drupal community events on www.drupal.org.
transmitter's picture

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

attiks's picture

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

transmitter's picture

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

pearcec's picture

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.

jtbayly's picture

I think it would be quite helpful.

Drush Make to the Rescue

skwashd's picture

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.

Aegir hosting system

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: