diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2017-01-30 07:31:59 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2017-02-05 22:31:02 +0100 |
commit | bc49d7902cd6101854233dec9b1f1b1b1402ef66 (patch) | |
tree | 45fd536fd789b18f8560b9802923b9403f360b7a | |
parent | a0bc62fe08beae87de8051b7e642715240b9d16c (diff) | |
download | mtk-20170518-bc49d7902cd6101854233dec9b1f1b1b1402ef66.zip mtk-20170518-bc49d7902cd6101854233dec9b1f1b1b1402ef66.tar.gz mtk-20170518-bc49d7902cd6101854233dec9b1f1b1b1402ef66.tar.bz2 |
hostapd: enable support for logging wpa_printf messages to syslog
This will allow starting hostapd with the new -s parameter and finally
read all (error) messages from the syslog.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
-rw-r--r-- | package/network/services/hostapd/files/hostapd-full.config | 3 | ||||
-rw-r--r-- | package/network/services/hostapd/files/hostapd-mini.config | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/package/network/services/hostapd/files/hostapd-full.config b/package/network/services/hostapd/files/hostapd-full.config index e388109..4a2e87c 100644 --- a/package/network/services/hostapd/files/hostapd-full.config +++ b/package/network/services/hostapd/files/hostapd-full.config @@ -146,6 +146,9 @@ CONFIG_IEEE80211AC=y # code is not needed. #CONFIG_NO_STDOUT_DEBUG=y +# Send debug messages to syslog instead of stdout +CONFIG_DEBUG_SYSLOG=y + # Remove support for RADIUS accounting #CONFIG_NO_ACCOUNTING=y diff --git a/package/network/services/hostapd/files/hostapd-mini.config b/package/network/services/hostapd/files/hostapd-mini.config index 8baff18..2bd7d23 100644 --- a/package/network/services/hostapd/files/hostapd-mini.config +++ b/package/network/services/hostapd/files/hostapd-mini.config @@ -142,6 +142,9 @@ CONFIG_IEEE80211AC=y # code is not needed. #CONFIG_NO_STDOUT_DEBUG=y +# Send debug messages to syslog instead of stdout +CONFIG_DEBUG_SYSLOG=y + # Remove support for RADIUS accounting CONFIG_NO_ACCOUNTING=y |