create_dirs(yes) doesn't actually create directories
[root@xxxxx ~]# syslog-ng --version syslog-ng 1.6.9 global options from syslog-ng.conf: options { sync (0); time_reopen (10); log_fifo_size (1000); long_hostnames (off); use_dns (yes); use_fqdn (no); create_dirs (yes); keep_hostname (yes); }; Here's three lines from the config, the /var/log/services directory exists, but the network dir doesn't get created. From what I understand of the reference manual.. create_dirs(yes) *should* create them, yes? I have about 30 directories, and I'd rather not create them by hand. :) Permissions on all directories above /var/log/services are correct. (rwxr-x-r-x) Any insight would be appreciated! Thanks in advance, Ian
It works for me - but only after I realized that syslog-ng won't create the directory (or the file) until it receives a message designated for it. I would start a new conf and add only that log file to make sure your filters and such are working correctly and the file should in fact be receiving messages. Hope that helps, noob-to-noob... On 9/29/06, Ian Meyer <ianmmeyer@gmail.com> wrote:
Here's three lines from the config, the /var/log/services directory exists, but the network dir doesn't get created. From what I understand of the reference manual.. create_dirs(yes) *should* create them, yes? I have about 30 directories, and I'd rather not create them by hand. :)
Permissions on all directories above /var/log/services are correct. (rwxr-x-r-x)
Any insight would be appreciated!
participants (2)
-
Brian Loe
-
Ian Meyer