[CentOS] syslog remote computers

Larry Vaden vaden at texoma.net
Thu Nov 20 00:19:55 UTC 2008


On Wed, Nov 19, 2008 at 6:02 PM, Craig White <craigwhite at azapple.com> wrote:
> Trying to figure out if there's a way to get syslog.conf to direct
> remote logging from a wireless access point to log to a separate file
> instead of the main syslog and can't figure out how that could be done
> from man syslog.conf (or man 2/3 of syslog)
>
> this clearly doesn't work
>
> 192.168.1.251.*                               /var/log/WAP-2.log
>
> which according to the man page, makes sense since this the IP address
> is not a facility.
>
> Is there a way to do this that I am missing?

The AP's syslog parms must match the syslog.conf parms.

e.g., for a MikroTik AP,

[root at catch22 ~]# grep -i mikrotik /etc/syslog.conf
# MikroTik router messages
user.*                                                  /var/log/mikrotik.log
[root at catch22 ~]#

rgds/ldv



More information about the CentOS mailing list