dev #1

Merged
tidoni merged 7 commits from dev into main 2024-01-23 16:42:13 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 6cb54c31ba - Show all commits

2
app.py
View File

@ -14,7 +14,7 @@ logging.basicConfig(
# level=logging.ERROR, # level=logging.ERROR,
# level=logging.INFO, # level=logging.INFO,
level=logging.DEBUG, level=logging.DEBUG,
format="Start: " + str(dt.datetime.now()).replace(" ", "_") + " | %(asctime)s [%(levelname)s] %(message)s", format=str(dt.datetime.now()).replace(" ", "_") + " | %(asctime)s [%(levelname)s] %(message)s",
handlers=[ handlers=[
logging.FileHandler("/var/log/" + str(dt.datetime.today().strftime('%Y-%m-%d')) + "_-_cron.log"), logging.FileHandler("/var/log/" + str(dt.datetime.today().strftime('%Y-%m-%d')) + "_-_cron.log"),
logging.StreamHandler(sys.stdout) logging.StreamHandler(sys.stdout)