Logging Improvements are GREAT, but <VirtualHost>?

Helicon Ape provides support for Apache .htacces and .htpasswd configuration files for Microsoft IIS.
User avatar
Posts: 16
Joined: 20 Nov 2013, 13:10

Logging Improvements are GREAT, but <VirtualHost>?

19 Nov 2015, 15:00

Hi!

I really love the logging improvements (especially in mod_proxy!!!) and I am testing them right now.

We are using <VirtualHost> entries to log into separate logfiles per virtual host
and have the following httpd.conf with root level settings and one include per virtual host:
---
Loglevel error
ErrorLog d:/logs/Helicon/ape_root_error.log

RewriteLog d:/logs/Helicon/ape_root_rewrite.log
RewriteLogLevel 0
[...]
include conf.d\site1.conf
include conf.d\site2.conf
include conf.d\site3.conf
---


conf.d\site1.conf
---
<VirtualHost www.site1.com:80 1.2.3.4:80>
Loglevel Debug
ErrorLog d:\logs\Helicon\site1_ape_error.log
[...]
</VirtualHost>
---


conf.d\site2.conf
---
<VirtualHost www.site2.com:80 1.2.3.5:80>
Loglevel Warn
ErrorLog d:\logs\Helicon\site2_ape_error.log
[...]
</VirtualHost>
---

conf.d\site3.conf
---
<VirtualHost www.site3.com:80 1.2.3.6:80>
Loglevel Error
ErrorLog d:\logs\Helicon\site3_ape_error.log
[...]
</VirtualHost>
---

Now only the logfiles of the last included file are written.

Is this an error or by design?

cheers
swobi

User avatar
Posts: 16
Joined: 20 Nov 2013, 13:10

Re: Logging Improvements are GREAT, but <VirtualHost>?

19 Nov 2015, 15:41

Fooled around a bit with our configs and it seems the last entry always "wins".

regards
swobi

Return to Helicon Ape

Who is online

Users browsing this forum: No registered users and 28 guests