Skip to main content
Version: 3.14.x.x LTS

Syslog log data forwarding

You may use the qslogger http://opensource.adnovum.ch/mod_qos/qslogger.1.html tool in combination with the piped log processing to forward log data to the systems syslog daemon.

bc.properties configuration example:

BC.Tracer.LogFile=pipe:///opt/nevisproxy/bin/qslogger -p -t nevisProxy/navajo/default -f
local3 -l INFO -d debug -r "^\[a-zA-Z0-9\.: -\]+ \[0-9\]-(\[A-Z_\]\{4,9\}).*"
|/opt/nevisproxy/bin/bclogmgr size=52428800 archives=2 /var/opt/nevisproxy/default/logs/navajo.log

navajo.xml configuration example:

TransferLog=""|/opt/nevisproxy/bin/qslogger -p -t nevisProxy/access/default -f
local3 |/opt/nevisproxy/bin/bclogmgr size=52428800 archives=2
/var/opt/nevisproxy/default/logs/access.log"
ErrorLog=""|/opt/nevisproxy/bin/qslogger -p -t nevisProxy/error/default -f local3 -
l INFO |/opt/nevisproxy/bin/bclogmgr size=52428800 archives=2
/var/opt/nevisproxy/default/logs/apache.log""