Index: ammosreader/__init__.py
===================================================================
--- ammosreader/__init__.py	(revision 726729c734271fdab61ae2fa80a8a6c1fcc286ab)
+++ ammosreader/__init__.py	(revision d34008da9ab44e1e2ee97a71488b59cdf8ae1979)
@@ -1,3 +1,4 @@
 import logging
+import logging.config
 import os
 from pathlib import Path
@@ -5,12 +6,20 @@
 logger = logging.getLogger(__name__)
 
-logging_dir = Path(os.environ.get('AMMOS_LOG_DIR', '/var/log/'))
+# change the default log path to /var/log/ammos/ammos.log when system configuration created this dir
+# with the appropriate rights
+
+log_dir = Path(os.environ.get('AMMOS_LOG_DIR', '/tmp/'))
 
 log_path = log_dir / 'ammos.log'
 
 if not log_path.exists():
-    print(log_path, "does not exist")
-    print("Logging disabled")
-    logging.config.fileConfig('ammos_logging.conf')
+#   print(log_path, "does not exist")
+    try:
+#       print("Trying to create logfile", str(log_path))
+        log_path.touch()
+    except PermissionError:
+#       print("Logging to file disabled")
+        logging.config.fileConfig('ammos_logging.conf')
 else:
+#   print("Logging to", str(log_path))
     logging.basicConfig(filename=str(log_path))
