infrastructure/machines/nixos/vault01/k-radius/packages/02-remove-noisy-logs.patch
sinavir e208be6037
All checks were successful
Build all the nodes / netaccess01 (push) Successful in 20s
Build all the nodes / netcore01 (push) Successful in 19s
Build all the nodes / netcore02 (push) Successful in 21s
Build all the nodes / ap01 (push) Successful in 1m27s
Build all the nodes / geo01 (push) Successful in 1m42s
Build all the nodes / hypervisor03 (push) Successful in 1m45s
Build all the nodes / bridge01 (push) Successful in 2m3s
Build all the nodes / rescue01 (push) Successful in 1m44s
Build all the nodes / hypervisor01 (push) Successful in 2m6s
Build all the nodes / build01 (push) Successful in 2m9s
Build all the nodes / hypervisor02 (push) Successful in 2m12s
Build all the nodes / geo02 (push) Successful in 2m12s
Build all the nodes / compute01 (push) Successful in 2m28s
Build all the nodes / storage01 (push) Successful in 1m51s
Run pre-commit on all files / pre-commit (push) Successful in 29s
Build the shell / build-shell (push) Successful in 38s
Build all the nodes / tower01 (push) Successful in 1m35s
Build all the nodes / web01 (push) Successful in 2m1s
Build all the nodes / vault01 (push) Successful in 2m5s
Build all the nodes / web02 (push) Successful in 1m46s
Build all the nodes / web03 (push) Successful in 2m0s
fix(radius): Be less verbose in the logs not to overflow journald
2025-03-09 18:34:20 +01:00

16 lines
623 B
Diff

diff --git a/kanidm/radius/utils.py b/kanidm/radius/utils.py
index cbd3fe1f0..41fbd05c4 100644
--- a/kanidm/radius/utils.py
+++ b/kanidm/radius/utils.py
@@ -25,11 +25,6 @@ def check_vlan(
raise ValueError("Need to pass this a kanidm_client")
for radius_group in kanidm_client.config.radius_groups:
- logging.debug(
- "Checking vlan group '%s' against user group %s",
- radius_group.spn,
- group.spn,
- )
if radius_group.spn == group.spn:
logging.info("returning new vlan: %s", radius_group.vlan)
return radius_group.vlan