[Bug 412180] New: configuring a CustomLog for Apache does not work with a third parameter
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.
https://bugzilla.novell.com/show_bug.cgi?id=412180 User skh@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=412180#c1 Sonja Krause-Harder <skh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bnc-team-apache@forge.provo.novell.com, | |skh@novell.com AssignedTo|bnc-team-apache@forge.provo.novell.com |skh@novell.com Severity|Normal |Enhancement Status|NEW |ASSIGNED Priority|P5 - None |P4 - Low --- Comment #1 from Sonja Krause-Harder <skh@novell.com> 2008-07-25 06:22:39 MDT --- Thanks for the report, I'll look at it for 11.1. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=412180 User skh@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=412180#c2 Sonja Krause-Harder <skh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|skh@novell.com |hvogel@novell.com --- Comment #2 from Sonja Krause-Harder <skh@novell.com> 2009-02-16 08:12:11 MST --- Reassigning to team lead for load balancing. -- 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.
participants (1)
-
bugzilla_noreply@novell.com