Bug #1257
closedThere is no per virtualhost error log
Description
I have seen that lighttpd doesn't allow a per domain error-log. i have given this inside a virtual host block:
---------
$HTTPhost =~ "^(www.doc.com|doc.com|dom.com|www.dom.com)" {
server.errorlog = "/home/httpd/doc.com/stats/doc.com-error_log"
}
-----------
But lighttpd only honours the LAST errorlog directive, and all the error for all domains are sent to that log. Is this by design? Or is it a bug?
Thanks.
Updated by darix over 17 years ago
- Status changed from New to Fixed
- Resolution set to worksforme
works as designed.
Updated by Anonymous over 17 years ago
Could you please elaborate. Works as designed? Does it mean that lighty doesn't have a per virtualhost error log, or that it has and does work properly?
Thanks.
-- ligesh
Updated by Anonymous over 17 years ago
Hi,
Without a per virtualhost error log, the entire vhost concept doesn't make any sense. As in, how do you expect a customer in a shared hosting setup to fix errors on his website? Viewing a particular domain's error log is a very critical feature.
Thanks.
-- ligesh
Updated by darix over 17 years ago
yes lighttpd supports only one error log. but that doesnt render vhosts useless. vhosts work outside of shared hosting environments very well too. yes this is a missing features that makes it harder to use lighttpd in shared hosting environments.
but in the end it is your decision if lighttpd will work in your setup or not.
for 1.5 we plan to fix this.
Updated by Anonymous over 16 years ago
- Status changed from Fixed to Need Feedback
- Resolution deleted (
worksforme)
Is this in 1.5?
Robin
Updated by stbuehler over 16 years ago
- Status changed from Need Feedback to Fixed
- Resolution set to invalid
The only thing interesting in the error log for vhosts are the cgi and fastcgi application errors; which the applications could also log somewhere else.
No, it is not in 1.5, and i don't think it will come as the log interface has no connection context parameter.
Anyway, no bug here.
Also available in: Atom