![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=412180 Summary: configuring a CustomLog for Apache does not work with a third parameter Product: openSUSE 11.0 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Apache AssignedTo: bnc-team-apache@forge.provo.novell.com ReportedBy: EGauselmann@beit.de QAContact: qa@suse.de Found By: --- I'd like a line like this: CustomLog /var/log/apache2/access_log combined env=!dontlog in file /etc/apache2/sysconfig.d/global.conf. I got the idea from playing with package "monit" here: http://www.tildeslash.com/monit/doc/examples.php#apache The entries of the form "Customlog ..." are generated from startscript while executing /usr/share/apache2/get_module_list at the very end. Here the last if-clause always assumes two parameters for "CustomLog ...". As a workaround I changed that to read [[ -n $APACHE_ACCESS_LOG ]] && echo >&3 "CustomLog $APACHE_ACCESS_LOG" When I now configure APACHE_ACCESS_LOG="/var/log/apache2/access_log combined env=!dontlog" in file /etc/sysconfig/apache2 the bare string gets written to the config. The downside is that only a single customlog can be configured this way. Perhaps someone with experience in shellscripts can have a look at /usr/share/apache2/get_module_list to find a way to take two or three arguments repeatedly out of /etc/sysconfig/apache2 to form one or more CustomLog entries. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.