Update scripts/registrator.py
Some checks failed
CI / test (push) Failing after 10s

This commit is contained in:
2026-02-14 10:25:28 +01:00
parent 6bd14d59f1
commit cc695fe5c5

View File

@@ -17,20 +17,17 @@ def configure_logging():
log_file = log_dir / "registrator.log"
handler = RotatingFileHandler(
log_file,
str(log_file),
maxBytes=5 * 1024 * 1024,
backupCount=3,
)
formatter = logging.Formatter(
"%(asctime)s - %(levelname)s - %(message)s"
)
formatter = logging.Formatter("%(asctime)s - %(levelname)s - %(message)s")
handler.setFormatter(formatter)
logging.basicConfig(
level=logging.INFO,
handlers=[handler],
root = logging.getLogger()
root.setLevel(logging.INFO)
root.handlers.clear()
root.addHandler(handler)
)
ip='69.69.69.69'