options { sync(0); use_dns(yes); create_dirs(yes); };
log { source("src"); destination("d_facility"); }; log { source("src"); destination("d_program"); };
The $PROGRAM expands as i would expect when recieving messages from the localhost, but when syslog-ng receives remote messages, $PROGRAM gets expanded to a file name (NULL) under the appropriate directory. however remote messages get expanded correctly with the $FACILITY macro. Did i miss something here?
Could you please provide some more context? What is the message which triggers the PROGRAM expansion bug? -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt