7 Jun
2011
7 Jun
'11
5:10 p.m.
Dejan Muhamedagic <dejan@suse.de> writes:
No. The task is to get the destination (log file) for the given facility. Right now I have brute force discovery like:
# logger -p facility.info unique_message # grep -l unique_message /var/log/*
I'd like to be able to query syslog-ng and get a list of destinations.
I do not think that's possible to do, save parsing the config file. It may be possible to add some debugging stuff to syslog-ng, that would echo the information you need, but it's not currently present. I also fail to see why this would be useful, but that might just be my lack of imagination O:) -- |8]