This commit is contained in:
SpudGunMan
2024-10-05 20:57:57 -07:00
parent ff4eab235d
commit 7267542db9
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -74,7 +74,10 @@ def parse_log_file(file_path):
print(f"Error: File not found at {file_path}")
sys.exit(1)
print(f"Consumed {len(lines)} lines from log file(s)")
if multiLogReader:
print(f"Consumed {len(lines)} lines from {len(log_files)} log files")
else:
print(f"Consumed {len(lines)} lines from {file_path}")
log_data = {
'command_counts': Counter(),
+4 -1
View File
@@ -75,7 +75,10 @@ def parse_log_file(file_path):
print(f"Error: File not found at {file_path}")
sys.exit(1)
print(f"Consumed {len(lines)} lines from log file(s)")
if multiLogReader:
print(f"Consumed {len(lines)} lines from {len(log_files)} log files")
else:
print(f"Consumed {len(lines)} lines from {file_path}")
log_data = {
'command_counts': Counter(),