On 20/08/12 10:54, Ed Greshko responds:
On 08/20/2012 10:44 PM, Bob Goodwin - Zuni, Virginia, USA wrote:
I've tried several forms:
/etc/rsyslog.d/emptyfile.conf
:source, isequal, 192.168.1.9 /var/log/tomato.log
:source, isequal, 192.168.1.9 ~
But can't find the right one.
I believe you need either single or double quotes around the 'value'....
:source, isequal, "192.168.1.9" /var/log/tomato.log
It doesn't seem to accept double quotes, single still yields an
error message.
[bobg@box9 ~]$ cat /var/log/tomato.log
Aug 20 11:02:27 box9 rsyslogd: the last error occured in
/etc/rsyslog.d/emptyfile.conf, line 3:":source, isequal,
'192.168.1.9' /var/log/tomato.log"
--
http://www.qrz.com/db/W2BOD
box9
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org