the relevant part is what kind of destinations you have. (e.g. the rest of the config)
destination std { file("/var/log/HOSTS/$HOST/$YEAR/$MONTH/$DAY/syslog" owner(admsys) group(system) perm(0600) dir_perm(0700) create_dirs(yes) template ("$DATE $FULLHOST $FACILITY.$PRIORITY $MSG\n") ); }; log { source(src); destination(std); }; destination std_syslog_collector { file("/var/log/syslog_collector" owner(admsys) group(system) perm(0600) dir_perm(0700) create_dirs(yes) template ("LOG $FULLHOST $FACILITY.$PRIORITY $DATE $MSG\n") ); }; log { source(src); destination(std_syslog_collector); }; JM Loubet
On Tue, Jun 10, 2003 at 09:22:29AM +0200, Loubet Jean-Michel wrote:
the relevant part is what kind of destinations you have. (e.g. the rest of the config)
destination std { file("/var/log/HOSTS/$HOST/$YEAR/$MONTH/$DAY/syslog" owner(admsys) group(system) perm(0600) dir_perm(0700) create_dirs(yes) template ("$DATE $FULLHOST $FACILITY.$PRIORITY $MSG\n") ); }; log { source(src); destination(std); };
destination std_syslog_collector { file("/var/log/syslog_collector" owner(admsys) group(system) perm(0600) dir_perm(0700) create_dirs(yes) template ("LOG $FULLHOST $FACILITY.$PRIORITY $DATE $MSG\n") ); }; log { source(src); destination(std_syslog_collector); };
hmm.. each file (provided you are using macros) you have on your box is a different destination. though losing messages for file destinations is not common and should never occur. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
participants (2)
-
Balazs Scheidler
-
Loubet Jean-Michel