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.

The script I am using is here:
https://github.com/munin-monitoring/contrib/blob/master/plugins/apache/apache_vhosts/apache_pipelogger

Would someone take a look for me and see what I'm doing wrong?

Also, does spawning a new shell for every hit cause a significant
amount of overhead? Should I consider doing this another way? What's
the best way to get stats from apache like bandwidth, users, page
views, error codes, etc in the form of a graph similar to what munin
produces?
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to