Initial commit: Intelligent Disk Cleaner

This commit is contained in:
2026-02-03 14:36:25 -05:00
commit ec7625d4d9
11 changed files with 1769 additions and 0 deletions

17
test_logger.py Normal file
View File

@@ -0,0 +1,17 @@
import time
import os
import sys
log_file = "test_app.log"
print(f"Logger starting. PID: {os.getpid()}")
with open(log_file, "w") as f:
i = 0
while True:
# Write 10KB of data per iteration
data = "X" * 10240
timestamp = time.strftime("%Y-%m-%d %H:%M:%S")
f.write(f"{timestamp} - Log line {i} - {data}\n")
f.flush()
i += 1
time.sleep(0.01)