messages

Jouni Malinen jkmaline at cc.hut.fi
Mon May 23 17:41:26 EDT 2005


On Wed, May 11, 2005 at 07:07:19PM -0700, Kev wrote:

> Im using HOSTAP with a DLINK 520 card on a Gentoo server.
> 
> I would like if possible to move all debug messages out of the server
> message log into a hostap specific log file,
> so instead of hostap sending its logs to /var/log/messages could I set
> it up to send to /var/log/hostap
> 
> Is this possible and if so how?

Host AP driver uses printk() for some debug messages. These are usually
captured by klogd and depending on your syslogd configuration, they may
be stored somewhere. It may be somewhat difficult to separate kernel
messages from other kernel messages, but at least it should be possible
to configure all kernel messages to be directed into something else than
/var/log/messages. This would be done in your syslogd (or whatever
tool you use for getting syslog) configuration. Similarly, hostapd
syslog messages could be directed to another file using syslog
configuration.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the HostAP mailing list