Index: ammosreader/__init__.py
===================================================================
--- ammosreader/__init__.py	(revision 338e792aa5613a9f079efb154b90f162c193fb21)
+++ ammosreader/__init__.py	(revision 19f5ce56a6d9c77321c9ff09c0719e6097262d90)
@@ -3,6 +3,4 @@
 import os
 from pathlib import Path
-
-logger = logging.getLogger(__name__)
 
 # change the default log path to /var/log/ammos/ammos.log when system configuration created this dir
@@ -23,3 +21,5 @@
 else:
 #   print("Logging to", str(log_path))
-    logging.basicConfig(filename=str(log_path))
+    logging.basicConfig(filename=str(log_path), encoding='utf-8', level=logging.DEBUG)
+
+logger = logging.getLogger(__name__)
