Logging Improvements are GREAT, but <VirtualHost>?
2 posts
• Page 1 of 1
Logging Improvements are GREAT, but <VirtualHost>?
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
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
Re: Logging Improvements are GREAT, but <VirtualHost>?
Fooled around a bit with our configs and it seems the last entry always "wins".
regards
swobi
regards
swobi
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 28 guests