diff --git a/scripts/registrator.py b/scripts/registrator.py index e7e68e1..8333fbb 100644 --- a/scripts/registrator.py +++ b/scripts/registrator.py @@ -8,7 +8,7 @@ import requests #logging.basicConfig(filename='/sdsat/logs/registrator.log', level=logging.INFO, # format='%(asctime)s - %(levelname)s - %(message)s') -def configure_logging(log_path="/sdsat/logs/registrator.log"): +def configure_logging(): current_file = Path(__file__).resolve() sdsat_root = current_file.parent.parent log_dir = sdsat_root / "logs"