David,

Single quotes are right in the scripting engine (double quotes are reserved
for future use - they shall provide the capability to extend macros, e.g.
$A="BC" => '$A' is the string "$A", while "$A" is supposed to be the string
"BC").

I don't have an idea what may be wrong, but running rsyslog in debug mode
will most probably pinpoint it.

Rainer 

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of [email protected]
> Sent: Monday, January 18, 2010 9:57 PM
> To: rsyslog-users
> Subject: Re: [rsyslog] fromhost-ip
> 
> On Mon, 18 Jan 2010, Ralph Crongeyer wrote:
> 
> > When I switched to double quotes I get the error in 
> /var/log/syslog and
> > no logs are collected?
> 
> what was the error you got this time?
> 
> David Lang
> 
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
> 
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to