18 Feb
2000
18 Feb
'00
10:26 a.m.
I can't seem to get create_dirs to work. When i add it to my options and add a destination such as destination test { file("/var/log/syslog-ng/$HOST/$FACILITY"); }; not only does it not create the directories or the files, but syslog-ng stops logging everything all together. Any thoughts? did i miss something in the conf?
you'll need to enable the create_dirs option either per destination, or a global basis like this:
destination test { file("/var/log/syslog-ng/$HOST/$FACILITY" create_dirs(yes)); };
I'll check why it stops logging.
this bug should be fixed in the just released 1.3.17 with a couple of other fixes. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt