[rsyslog-notify] Forum Thread: parameter 'rsyslog.WorkDirectory' not known - (Mode 'post')

noreply at adiscon.com noreply at adiscon.com
Wed Aug 6 16:20:50 CEST 2014


User: simao 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=24798#p24798

Message: 
----------
Hello,

I am using the following config to forward all messages using tcp:

[code:381vwevk]
*.*	action(type="omfwd" protocol="tcp" target="myhost" port="514"
               rsyslog.WorkDirectory="/var/run/rsyslog"
	       queue.FileName="srvfwd1"
	       queue.MaxDiskSpace="512m"
	       queue.SaveOnShutdown="on"
	       queue.Type="LinkedList")
[/code:381vwevk]

But I am getting the following error message:

[code:381vwevk]
error during parsing file /etc/rsyslog.d/02-production.conf, on or
before line 1: parameter 'rsyslog.WorkDirectory' not known -- typo
in config file? [try http://www.rsyslog.com/e/2207 ]
[/code:381vwevk]

I adapted this line from <!-- m --><a class="postlink"
href="http://download.rsyslog.com/rainerscript2_rsyslog.conf">http://download.rsyslog.com/rainerscript2_rsyslog.conf</a><!--
m --> which uses this directive.

I am using rsyslog 7:

[code:381vwevk]rsyslogd 7.6.3, compiled with:
	FEATURE_REGEXP:				Yes
	FEATURE_LARGEFILE:			No
	GSSAPI Kerberos 5 support:		Yes
	FEATURE_DEBUG (debug build, slow code):	No
	32bit Atomic operations supported:	Yes
	64bit Atomic operations supported:	Yes
	Runtime Instrumentation (slow code):	No
	uuid support:				Yes
	Number of Bits in RainerScript integers: 64
[/code:381vwevk]

how can I use rsyslog.WorkDirectory?

Thank you


More information about the rsyslog-notify mailing list