Re: [syslog-ng]Configure syslog-ng to act as a central logging server
31 Mar
2005
31 Mar
'05
5:15 p.m.
On Thu, 31 Mar 2005, Ryan McCain wrote:
I'm starting to understand the syntax. However, what part of this statement tells syslog-ng to create a file for each host its receiving logs from?
destination hosts { file("/var/syslog/HOSTS/$HOST/$YEAR/$MONTH/$HOST-$FACILITY-$YEAR$MONTH$DAY" owner(bob) group(llamafood) perm(0755) dir_perm(0755) create_dirs(yes));
If the file doesn't exist, it will be created. If the directory doesn't exist, you need the create_dirs directive. - billn
7450
Age (days ago)
7450
Last active (days ago)
0 comments
1 participants
participants (1)
-
Bill Nash