[OpenWrt-Devel] [PATCH] hostapd: Add Support to Separate Debug from Syslog

Bima Hutama hutamanzi at gmail.com
Tue Jun 7 14:47:13 EDT 2016


  -Description:
	By enabling "-f <path to file>" argument we can separate Debug to one file rather
	than merge it with syslog. It makes hostapd debugging easier to read in one file
	rather than analyse the whole syslog. Wiki and config support will be made for this.

  -Changelog:
	Adding CONFIG_DEBUG_FILE=y.

Signed-off-by: Bima Hutama <hutamanzi at gmail.com>
---
 package/network/services/hostapd/files/hostapd-full.config | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/network/services/hostapd/files/hostapd-full.config b/package/network/services/hostapd/files/hostapd-full.config
index e63800d..da4c6e7 100644
--- a/package/network/services/hostapd/files/hostapd-full.config
+++ b/package/network/services/hostapd/files/hostapd-full.config
@@ -146,6 +146,8 @@ CONFIG_IEEE80211AC=y
 # code is not needed.
 #CONFIG_NO_STDOUT_DEBUG=y
 
+CONFIG_DEBUG_FILE=y
+
 # Remove support for RADIUS accounting
 #CONFIG_NO_ACCOUNTING=y
 
-- 
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list