openwrt/package/network
Dávid Benko 939628f6b8 hostapd/RADIUS_server: enhance logging
Currently, logging level of the RADIUS server is a constant corresponding
to the highest verbosity (EXCESSIVE, ALL), but when running as a system
service, the output is discarded.

This commit makes logging verbosity configurable by `log_level` option
and redirects all logs to `logd`. Possible levels are defined in hostap
sources:
https://w1.fi/cgit/hostap/tree/src/utils/wpa_debug.h?id=012a893c469157d5734f6f33953497ea6e3b0169#n23
Their reference is inlined in `radius.config` file.

Default value for logging verbosity is INFO (even if the `-l` flag isn't
specified).

Signed-off-by: Dávid Benko <davidbenko@davidbenko.dev>
Link: https://github.com/openwrt/openwrt/pull/18089
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-03-12 13:12:12 +01:00
..
config ltq-vdsl-vr11-app: exit more quickly if orderly shutdown fails 2025-02-22 18:55:54 +01:00
ipv6 odhcp6c: update to Git HEAD (2024-09-25) 2024-11-19 08:03:42 +00:00
services hostapd/RADIUS_server: enhance logging 2025-03-12 13:12:12 +01:00
utils ethtool: work-around ETHTOOL_GRSSH/ETHTOOL_SRSSH ABI breakage 2025-02-24 05:07:01 +00:00