Re: Apache 2.4 and CustomLog with pipe returns "error writing"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 3 Apr 2019 14:41:50 -0400
Alex <mysqlstudent@xxxxxxxxx> wrote:

> Hi,
> I have a fedora28 system with apache-2.4.34 and would like to try to
> do some more advanced logging to report on bandwidth, users, and other
> stats.
> 
> I've identified this script as part of munin called apache_logger that
> requires a change to how apache logs by default.
> 
> I've added the following to my virtual domain:
> 
> <IfModule mod_log_config.c>
>   CustomLog "|/usr/share/munin/apache_pipelogger" "%v %p %m %B %D %s"
> </IfModule>
> 
> When reloading apache, it reports the following in the error_log:
> 
> [Wed Apr 03 14:35:50.129503 2019] [log_config:warn] [pid 18084:tid
> 140401642026752] (32)Broken pipe: [client 66.249.70.4:59383] AH00646:
> Error writing to |/usr/share/munin/plugins/apache_pipelogger %v %p %m
> %B %D %s
> 
> Is that the correct format? Perhaps this is the format for an
> apache-2.2 script and the one for apache-2.4 is different?
> 
> I've tried several variations of this, including setting the LogFormat
> and providing a name for it, but it always results in the same "error
> writing" error.

Look at (version 2.4)
http://httpd.apache.org/docs/current/mod/mod_log_config.html
and
http://httpd.apache.org/docs/current/logs.html#piped





_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux