This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user