fix(k-radius): Reduce log level
In debug mode, the radius secrets were printed to the log...
This commit is contained in:
parent
2537b8550d
commit
b13ba3f17a
4 changed files with 16 additions and 1 deletions
|
@ -0,0 +1,13 @@
|
|||
diff --git i/kanidm/radius/__init__.py w/kanidm/radius/__init__.py
|
||||
index e707cf602..999c8e7bf 100644
|
||||
--- i/kanidm/radius/__init__.py
|
||||
+++ w/kanidm/radius/__init__.py
|
||||
@@ -40,7 +40,7 @@ def find_radius_config_path() -> Optional[Path]:
|
||||
def instantiate(_: Any) -> Any:
|
||||
"""start up radiusd"""
|
||||
logging.basicConfig(
|
||||
- level=logging.DEBUG,
|
||||
+ level=logging.INFO,
|
||||
stream=sys.stderr,
|
||||
)
|
||||
logging.info("Starting up!")
|
|
@ -19,6 +19,7 @@ buildPythonPackage {
|
|||
|
||||
patches = [
|
||||
./02-remove-noisy-logs.patch
|
||||
./03-set-log-level.patch
|
||||
];
|
||||
|
||||
sourceRoot = "source/pykanidm";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue