Forum Discussion
fkuser_104673
Nimbostratus
16 years agoSend Web Accelerator Logs to external syslog
Hi!
Since thre's no facility associated to Web Accelerator logs, I would like yo know if it's possible sen that logs to a external syslog-ng server.
It's possible to define a "tail s...
hoolio
Cirrostratus
16 years agoI haven't tested the option you've suggested or the one below before, but it looks like you could read from a file using the source command:
From man syslog-ng.conf:
NAME
/etc/syslog-ng/syslog-ng.conf - syslog-ng configuration file
DESCRIPTION
The configuration file for syslog-ng
A message route in syslog-ng is made up from three parts: a source, a
destination and filtering rules.
SOURCES
You can declare source statements using the "source" keyword:
source { sourcedriver params; sourcedriver params; ... };
Sourcename is an identifier you'll use to refer to this group of mes-
sages. Sourcedriver is a method of getting a given message. The fol-
lowing drivers are available:
* file - reads messages from the given file
Aaron