On Tue, Aug 10, 2004, Alexander Belck wrote:

> OpenPKG apache.base directs to do changes in apache.conf and overaid default
> settings.
>
> I tryed to change the default access.log and error.log destination including:
> CustomLog  /isp/var/log/apache/access.log common env=!ignore_global_access
> ErrorLog   /isp/var/log/apache/error.log
>
> but know I got access.log written twice (one at the directory I told in
> apache.conf and one in default /opkg/var/apache/log directory) and error.log
> still in default directory
>
> What is wrong ?

Well, that's for what this "ignore_global_access" is for. You have
to set this variable with "SetEnv ignore_global_access 1" in your
apache.conf in order to disable the logging to the access log defined in
apache.base. The problem is that Apache's CustomLog is always _adding_ a
log and once added it cannot be removed.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to