[PATCH 1/1] hostapd: Add possibility to send debug messages to syslog.
Rafał Miłecki
zajec5 at gmail.com
Tue Jan 24 14:58:29 PST 2017
Hi Wojciech,
On 23 January 2017 at 13:55, Wojciech Dubowik
<Wojciech.Dubowik at neratec.com> wrote:
> We can only send module specific messages to syslog and not
> debug messages printed with wpa_printf. Add an extra command
> line parameter '-s' to allow it.
> The feature is enabled with compile flag CONFIG_DEBUG_SYSLOG
> as for wpa_supplicant.
>
> Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik at neratec.com>
This is absolutely great feature for me. We were trying to log
wpa_printf messages in OpenWrt by redirecting stdout & stderr but it
was working until os_daemonize only. Logging directly to syslog is
exactly what we need.
This will allow us to solve issue I reported:
https://dev.openwrt.org/ticket/20623
I already gave your patch a try and I can confirm it worked for me
Tested-by: Rafał Miłecki <rafal at milecki.pl>
Thank you!
More information about the Hostap
mailing list