WG: Logging

Jouni Malinen jkmaline
Wed Jun 16 19:11:01 PDT 2004


On Wed, Jun 16, 2004 at 09:50:45PM +0200, Daniel Walther wrote:

> It is possible to log all Hostap events to a special source or it is only
> possible to syslog?

What do you mean with "a special source"?

> I saw in the hostapd.conf that there is a possibility to log to syslog, but
> only when the process isn't forked in the background! But I start hostaps
> with the options -B, that means in the background! Is that right, that there
> is now no possibility to log?

-B option closed stdout and you can only use syslog with it. However,
you can start hostapd with something line this:

hostapd hostapd.conf > logfile.txt &

> And what means the value -1 at the line logger_syslog in the hostapd.conf?

>From the example hostapd.conf:

# Module bitfield (ORed bitfield of modules that will be logged; -1 =
# all modules):

-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list