[syslog-ng] create_dirs in 1.3.15

Sam Howard SPHoward@2c2.com
Thu, 17 Feb 2000 19:52:05 -0500


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...

BTW, I tried this on 1.3.16 (ahh, fresh code!)

Thanks,
Sam

-----Original Message-----
From: Chris Scheller [mailto:schelcj@networkone.net]
Sent: Thursday, February 17, 2000 6:24 PM
To: syslog-ng@venus.terrasoft.hu
Subject: Re: [syslog-ng] create_dirs in 1.3.15


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? 

Chris Scheller
System/Network Administration
Network One Internet, inc.
http://www.networkone.net/
1.888.GOT-NET1

On Thu, 17 Feb 2000, Balazs Scheidler wrote:

> > I'm looking at the ChangeLog for 1.3.15, and it mentions "added
> > create_dirs", and "updated documentation", but I cannot find any docs
about
> > the new features...
> > 
> > What am I missing???
> 
> The 1.3.15 tarball doc/sgml/syslog-ng.txt file contains this. (or the
.html
> version)
> 
> -- 
> Bazsi
> PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C
8EB1
>      url: http://www.balabit.hu/pgpkey.txt
> 
> _______________________________________________
> syslog-ng maillist  -  syslog-ng@lists.balabit.hu
> http://lists.balabit.hu/mailman/listinfo/syslog-ng
> 


_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
http://lists.balabit.hu/mailman/listinfo/syslog-ng