syslog-ng config

25 April 2018

save to file SYSLOG-NG

destination d_network_hosts { file("/syslog/$YEAR/$MONTH/$DAY/$HOST.log" owner(root) group(sudo) perm(0644) create_dirs(yes) dir_perm(0755)); };
 log { source(s_network); destination(d_network_hosts); };

 


Kategorie: Linux