diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2017-01-25 08:32:00 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2017-02-05 22:29:56 +0100 |
commit | a0bc62fe08beae87de8051b7e642715240b9d16c (patch) | |
tree | c36eb4fb7dde2c0949f938b3b435208d38744851 /package/network/services/hostapd/files/hostapd-full.config | |
parent | 3f9a194e04a7bd857bcdd06e44616abef5dab209 (diff) | |
download | mtk-20170518-a0bc62fe08beae87de8051b7e642715240b9d16c.zip mtk-20170518-a0bc62fe08beae87de8051b7e642715240b9d16c.tar.gz mtk-20170518-a0bc62fe08beae87de8051b7e642715240b9d16c.tar.bz2 |
hostapd: backport support for sending debug messages to the syslog
It wasn't possible to read hostapd wpa_printf messages unless running
hostapd manually. It was because hostapd was printing them using vprintf
and not directly to the syslog.
We were trying to workaround this problem by redirecting STDIN_FILENO
and STDOUT_FILENO but it was working only for the initialization phase.
As soon as hostapd did os_daemonize our solution stopped working.
Please note despite the subject this change doesn't affect debug level
messages only but just everything printed by hostapd with wpa_printf
including MSG_ERROR-s. This makes it even more important as reading
error messages can be quite useful for debugging.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'package/network/services/hostapd/files/hostapd-full.config')
0 files changed, 0 insertions, 0 deletions