diff --git a/src/ebusd/main.cpp b/src/ebusd/main.cpp
index 202c2396..d362e239 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(1 << ll_COUNT, ll_none);
+    setFacilitiesLogLevel(1 << lf_COUNT, ll_none);
     setFacilitiesLogLevel(s_opt.logAreas, s_opt.logLevel);
   }