[TriLUG] Issue with Linux logging configuration Need help

Bill Trautman via TriLUG trilug at trilug.org
Tue May 6 10:21:54 EDT 2025


Was wondering if anyone would have some idea what I might need to change to
get the logging config I am working on.

I need (requirement) to have ErrorLog in apache log via syslog.   I have a
global ErrorLog directive and one in an virtual host section (for the ssl
connection).   The ssl one is behaving as expected but the global is not.

I have configured the httpd side with:

Errorlog syslog:local1:http_log

and configured rsyslog.conf with

if ($syslogfacility-text == 'local1' and $programname == 'http_log') then
/var/log/error_log
& stop

a similar config in the virtual host behaves as expected (different
facility and tag) but not in the global setting.   Ideas?

Bill Trautman

Sorry about the to line having Stephen Joyce targeted.   seems Gmail
insists on picking it up from a piece of mail in my in box and not my
contact list.


More information about the TriLUG mailing list