hostapd: Add possibility to send debug messages to syslog
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 and behaves in the same manner as the wpa_supplicant -s command line argument. Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
This commit is contained in:
parent
0da355235e
commit
cc3dae85bd
6 changed files with 33 additions and 2 deletions
|
@ -14,6 +14,9 @@
|
|||
extern int wpa_debug_level;
|
||||
extern int wpa_debug_show_keys;
|
||||
extern int wpa_debug_timestamp;
|
||||
#ifdef CONFIG_DEBUG_SYSLOG
|
||||
extern int wpa_debug_syslog;
|
||||
#endif /* CONFIG_DEBUG_SYSLOG */
|
||||
|
||||
/* Debugging function - conditional printf and hex dump. Driver wrappers can
|
||||
* use these for debugging purposes. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue