[syslog-ng] Newbie Looking for Help

Mark R. White whitemr at gmail.com
Fri May 12 00:54:16 CEST 2006


I want to setup a syslog-ng server to do syslogging for my network.  So far
it's easy, the part I'm having trouble with, and I'm not even sure if it's
possible, is I want to log by device to it's own individual syslog file.
Hence the reason for using syslog-ng vice sysklogd, I think the syntax would
be something as follows, but I could be way off base.  


device1		/var/log/network/device1
log { 
	source(device1)
	filter (?????)
	destination (?????)
};


I also don't understand where to define the facilities as I did in standard
syslog.  Any help would be greatly appreciated.  One other quick question,
when I do a default install of syslog-ng (on Debian Etch), it automatically
logs to the tty.  Is this correct for all versions, and whether it is or
it's not, how do I stop it?

Thanks again, 

Mark




More information about the syslog-ng mailing list