On 02/23/2009 02:56 PM, (private) HKS wrote:
> On Mon, Feb 23, 2009 at 1:01 PM, Scott Baker<[email protected]>  wrote:
>> I have an rsyslog.conf entry like this to send everything from my DHCP
>> server to it's own log file on my central rsyslog server.
>>
>> # DHCP logs
>> :FROMHOST, isequal, "dhcp-server.domain.com"             -?dhcp
>>
>> Is there a way to specify hostname AND a syslog facility? It'd be nice if I
>> could match that host, and local6.* or something like that. Is that possible?
>>
>> - Scott
>> _______________________________________________
>> rsyslog mailing list
>> http://lists.adiscon.net/mailman/listinfo/rsyslog
>> http://www.rsyslog.com
>>
>
>
> #DHCP logs
> if $fromhost == 'dhcp-server.domain.com' and $syslogfacility-text ==
> 'local6' then -?dhcp

Does this syntax work on rsyslog 2.0.x, that's what my server has on it. 
I've tried this syntax, but it's not logging.

- Scott
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to