#20623: hostapd: no logging of wpa_printf messages
-------------------------+------------------------
Reporter: rmilecki | Owner: developers
Type: defect | Status: closed
Priority: normal | Milestone:
Component: packages | Version: Trunk
Resolution: worksforme | Keywords:
-------------------------+------------------------
Comment (by rmilecki):
@nbd: it's not really about `CONFIG_WPA_MSG_MIN_PRIORITY` or `-d` switch
for hostapd, because I'm dealing with
{{{
wpa_printf(MSG_ERROR, "Foo\n");
}}}
(it's message important enough to be logged with default settings).
The issue is that hostapd prints `wpa_printf` messages to the stdout and
so they are not visible in syslog. It's a bit confusing since
`hostapd_logger` uses syslog. I think it would be nice to be consistent
about this and let users see all errors in syslog. It's a bit pitty to
have to run hostapd manually (from command line) to see WPA errors.
--
Ticket URL: <https://dev.openwrt.org/ticket/20623#comment:2>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets