1
0
Fork 0
forked from mirror/openwrt
openwrt/package/network/services
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
..
bridger bridger: update to Git HEAD (2024-04-22) 2024-04-22 11:02:52 +02:00
dnsmasq dnsmasq: fix handlers for options filter_rr and cache_rr 2025-03-09 17:26:48 +01:00
dropbear dropbear: Name pid file by uci section name 2024-12-12 20:02:38 +01:00
ead ead: fix resource leak in tinysrp 2020-01-05 19:36:46 +01:00
hostapd hostapd/RADIUS_server: enhance logging 2025-03-12 13:12:12 +01:00
ipset-dns treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
lldpd lldpd: fix config for build without LLDP-MED 2025-01-14 16:02:10 +01:00
odhcpd odhcpd: update to Git HEAD (2024-05-08) 2024-05-08 00:11:19 +02:00
omcproxy omcproxy: update to latest version 2025-02-27 11:52:27 +01:00
ppp ppp: update to 2.5.2 2025-01-05 22:50:20 +01:00
relayd treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
uhttpd uhttpd: restart daemon if certificate has changed 2024-08-19 18:46:08 +02:00
umdns umdns: add cli module 2025-02-13 19:00:30 +01:00
unetd unetd: update to Git HEAD (2025-03-09) 2025-03-09 16:44:14 +01:00
ustp ustp: update to Git HEAD (2023-05-29) 2024-04-27 11:40:04 +02:00