Issues with DebugLevel and AuthAlg properties

Marcel Holtmann marcel at holtmann.org
Fri Jan 1 16:13:07 EST 2010


Hi Jouni,

> > > The default debug level is MSG_INFO, i.e., 2. -d on command line
> > > decreases this to 1 (MSG_DEBUG) and -dd to 0 (MSG_MSGDUMP) (similarly,
> > > -q increases the level to 3 (MSG_WARNING), and -qq to 4 (MSG_ERROR). In
> > > other words, the larger the number, the less verbose debug output.
> > 
> > that is totally confusing. I would expect it exactly the other way
> > around.
> 
> That's the way it is used internally in wpa_supplicant. This value could
> obviously be mapped to something else in the D-Bus interface, if
> desired. Anyway, I can at least add this description into dbus.doxygen.

maybe if we export DebugLevel as string and make it "debug", "msgdump",
"warning", "error" and "info" then it gets pretty clear.

Regards

Marcel




More information about the HostAP mailing list