# equery f syslog-ng|grep /var/ /var/lib /var/lib/syslog-ng /var/lib/syslog-ng/.keep_app-admin_syslog-ng-0 $ bzcat /usr/share/doc/syslog-ng-3.4.2/syslog-ng.conf.doc.bz2|grep -e /var/log/news/ -e create_dirs # create_dirs y/n Enable or disable directory creation create_dirs (no); # on the create_dirs() setting (both global and a per # create_dirs(). owner(root) group(root) perm(0600) dir_perm(0700) create_dirs(yes)); }; destination newscrit { file("/var/log/news/critical"); }; destination newserr { file("/var/log/news/errors"); }; destination newsnotice { file("/var/log/news/notice"); }; destination newswarn { file("/var/log/news/warnings"); }; dir_perm(0700) create_dirs(yes) $ bzcat /usr/share/doc/syslog-ng-3.4.2/syslog-ng.conf.gentoo.hardened.bz2|grep -e /var/log/news/ -e create_dirs destination newscrit { file("/var/log/news/news.crit"); }; destination newserr { file("/var/log/news/news.err"); }; destination newsnotice { file("/var/log/news/news.notice"); }; Seems this option is not enabled by default: http://www.balabit.com/wiki/syslog-ng-faq-createdirs Please create this dir in ebuild or fix syslog-ng.conf*
That's a doc file that you might find useful to modify for your own needs. It's not meant to be a drop-in config file for use. The ebuild installs a default config file that should work without any modifications.