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

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

Reply via email to