db0 2024-04-03 19:38:11 +02:00
parent 920bdd25d8
commit 3b80a4043e
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ def refresh_info(domain):
pass
if __name__ == "__main__":
logger.add("updater.log", retention="7 days", rotation="1d", compression="bz2", level=10)
# Only setting this for the WSGI logs
logging.basicConfig(format='%(asctime)s - %(levelname)s - %(module)s:%(lineno)d - %(message)s', level=logging.WARNING)
logger.init("Updater", status="Starting")