diff mbox

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

Message ID 1465325233-4495-1-git-send-email-hutamanzi@gmail.com
State Changes Requested
Headers show

Commit Message

Bima Hutama June 7, 2016, 6:47 p.m. UTC
-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@gmail.com>
---
 package/network/services/hostapd/files/hostapd-full.config | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

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