Hi, I have a setup where i would like to make sure dirs and file are create with strict file mask. template(name="AppDynLogDirFile" type="string" string="/export/logs/%PROGRAMNAME%/%$YEAR%/%$MONTH%/%$DAY%/application.log" FileCreateMode="0600" dirCreateMode="0700") template(name="AccessDynLogDirFile" type="string" string="/export/logs/%PROGRAMNAME%/%$YEAR%/%$MONTH%/%$DAY%/access.log" FileCreateMode="0600" dirCreateMode="0700") template(name="ClamavDynLogFile" type="string" string="/var/log/clamav/%PROGRAMNAME%.log" FileCreateMode="0600" dirCreateMode="0700")
But i am getting this error message: eb 9 10:32:52 default rsyslogd-2207: error during parsing file /etc/rsyslog.conf, on or before line 12: parameter 'dirCreateMode' not known -- typo in config file? [v8.16.0 try http://www.rsyslog.com/e/2207 ] Feb 9 10:32:52 default rsyslogd-2207: error during parsing file /etc/ rsyslog.conf, on or before line 12: parameter 'FileCreateMode' not known -- typo in config file? [v8.16.0 try http://www.rsyslog.com/e/2207 ] Feb 9 10:32:52 default rsyslogd-2207: error during parsing file /etc/ rsyslog.conf, on or before line 13: parameter 'dirCreateMode' not known -- typo in config file? [v8.16.0 try http://www.rsyslog.com/e/2207 ] Feb 9 10:32:52 default rsyslogd-2207: error during parsing file /etc/ rsyslog.conf, on or before line 13: parameter 'FileCreateMode' not known -- typo in config file? [v8.16.0 try http://www.rsyslog.com/e/2207 ] Feb 9 10:32:52 default rsyslogd-2207: error during parsing file /etc/ rsyslog.conf, on or before line 20: parameter 'dirCreateMode' not known -- typo in config file? [v8.16.0 try http://www.rsyslog.com/e/2207 ] Feb 9 10:32:52 default rsyslogd-2207: error during parsing file /etc/ rsyslog.conf, on or before line 20: parameter 'FileCreateMode' not known -- typo in config file? [v8.16.0 try http://www.rsyslog.com/e/2207 ] Is there any solution for this? Peter _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

