aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-01-25 08:32:00 +0100
committerRafał Miłecki <rafal@milecki.pl>2017-01-30 06:52:02 +0100
commit37b489fe04174bdede9c2817e021d77775e274ea (patch)
tree9821b71ea435170361a1c6ce26fbf49db7c802ec /package/base-files/files
parentf3c5934981d7a30d122827b30d8bca330ce0fd60 (diff)
downloadupstream-37b489fe04174bdede9c2817e021d77775e274ea.tar.gz
upstream-37b489fe04174bdede9c2817e021d77775e274ea.tar.bz2
upstream-37b489fe04174bdede9c2817e021d77775e274ea.zip
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/base-files/files')
0 files changed, 0 insertions, 0 deletions