You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ben Short <be...@benshort.co.uk> on 2010/12/08 12:26:53 UTC
[users@httpd] vhosts logging to the same log file
Hi,
Is it safe to have 2 vhosts logging to the same log file?
Regards
Ben Short
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] vhosts logging to the same log file
Posted by Igor Galić <i....@brainsware.org>.
----- "Ben Short" <be...@benshort.co.uk> wrote:
> Hi,
>
> Is it safe to have 2 vhosts logging to the same log file?
If by that you mean only having an ErrorLog in server context
then yes. Perfectly safe. Otherwise you're calling for trouble.
n.b.: Trunk has a very customizable ErrorLogFormat:
http://httpd.apache.org/docs/trunk/mod/core.html#errorlogformat
%v and %V are analogous to those of CustomLogFormat
So you can log the name of the offending vhost -- all of this
in one ErrorLog in the server context..
> Regards
>
> Ben Short
i
--
Igor Galić
Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org