[syslog-ng] create_dirs in 1.3.15

Balazs Scheidler bazsi@balabit.hu
Fri, 18 Feb 2000 09:29:52 +0100


> I tried something similar, and found that syslog-ng went balistic and was
> constantly 'stat(/var)' (according to truss).
> 
> Also, should it create *any* directory it needs? or only ones that are the
> result of a variable expansion?
> 
> For example file("/var/log/make/this/directory/$HOST.log"); where only
> /var/log exists...

it should create any directory, provided that all parent directories are
really directories (that's why the stat()), and they are writable.

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
     url: http://www.balabit.hu/pgpkey.txt