File size: 646 Bytes
3c6e78c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import os

log_path = r"C:\Users\youse\.gemini\antigravity\brain\c403afe2-a634-4891-8507-cf4589c88c49\.system_generated\logs\transcript.jsonl"

if not os.path.exists(log_path):
    print(f"Log path does not exist: {log_path}")
else:
    print(f"Reading log path: {log_path}")
    count = 0
    with open(log_path, "r", encoding="utf-8", errors="ignore") as f:
        for line in f:
            if "ssh " in line or "scp " in line or "165.245.136" in line:
                print(f"Line: {line[:500]}...")
                count += 1
                if count > 20:
                    print("Truncated after 20 matches.")
                    break