From d6ea68db9424a71febdd8bccd6f940f6f090f576 Mon Sep 17 00:00:00 2001 From: John Date: Sat, 24 Feb 2024 13:25:07 +0100 Subject: [PATCH] simplify log facility handling --- src/ebusd/main.cpp | 2 +- src/lib/utils/log.cpp | 8 ++------ src/lib/utils/log.h | 5 +---- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/src/ebusd/main.cpp b/src/ebusd/main.cpp index 6e5237852..9d39b8a77 100644 --- a/src/ebusd/main.cpp +++ b/src/ebusd/main.cpp @@ -256,7 +256,7 @@ int main(int argc, char* argv[], char* envp[]) { } if (s_opt.logAreas != -1 || s_opt.logLevel != ll_COUNT) { - setFacilitiesLogLevel(LF_ALL, ll_none); + setFacilitiesLogLevel(1<