diff --git a/etc/report_generator.py b/etc/report_generator.py index d5810c2..4379b86 100644 --- a/etc/report_generator.py +++ b/etc/report_generator.py @@ -923,7 +923,7 @@ def generate_database_html(database_info): def main(): log_dir = LOG_PATH today = datetime.now().strftime('%Y-%m-%d') - log_file = f'meshbot.log.{today}' + log_file = f'meshbot.log' log_path = os.path.join(log_dir, log_file) if not os.path.exists(log_path): diff --git a/etc/report_generator5.py b/etc/report_generator5.py index 5c310a1..0dbd7de 100644 --- a/etc/report_generator5.py +++ b/etc/report_generator5.py @@ -1218,7 +1218,7 @@ def main(): # Log file log_dir = LOG_PATH today = datetime.now().strftime('%Y-%m-%d') - log_file = f'meshbot.log.{today}' + log_file = f'meshbot.log' log_path = os.path.join(log_dir, log_file) if not os.path.exists(log_path):