Page MenuHomeVyOS Platform

Hostapd cannot log
Closed, ResolvedPublicBUG


When forked to the background, hostapd is capable to use syslog for logging making it quite hard to troubleshoot issues on the Wifi phy and mac layers. However, I have found this feature to be disabled in all VyOS versions by this hostapd.conf setting: logger_syslog_level=0

Manually enabling this (for example set logger_syslog_level=4) and then restarting hostapd in forked mode still does not make it log to syslog.

I tested this on VyOS 1.1.8 and 1.2.x.

Related to: T452


Priority set to "LOW" due to capability of starting hostapd manually and debugging that way. Also, fixing this will involve patching hostapd which is very likely out of scope to the VyOS project. This might even justify a "Won't fix"verdict.


Difficulty level
Easy (less than an hour)
1.1.8, 1.2.x
Why the issue appeared?
Implementation mistake
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

alainlamar updated the task description. (Show Details)
syncer changed the task status from Open to On hold.Oct 13 2018, 9:15 AM
syncer removed a project: VyOS 1.1.x.
syncer added a subscriber: syncer.

please confirm the current state of this task

@alainlamar Can you please share some config data, so I can reproduce the issue.

hagbard added a subscriber: hagbard.
dmbaturin changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
dmbaturin changed Why the issue appeared? from Will be filled on close to Implementation mistake.
dmbaturin set Is it a breaking change? to Perfectly compatible.
dmbaturin added a subscriber: dmbaturin.

Last I checked it was able to log in the post-rewrite code. If the problem re-appears, feel free to reopen of course.

dmbaturin set Issue type to Bug (incorrect behavior).Sep 3 2021, 7:30 AM