fix(paths): switch agent log and state defaults

This commit is contained in:
patrick committed 2026-02-10 21:53:41 -05:00
1 parent e342d83a70
commit b2c489602a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ from datetime import datetime, timedelta
logging.basicConfig(
level=logging.INFO,
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
filename='/home/patrick/threat-engine-agent/logs/threat-agent.log'
filename='/root/threat-engine-agent/logs/threat-agent.log'
)
################
+1 -1
View File
@@ -10,7 +10,7 @@ class LocalStateReporter:
Manages the health manifest on Triton.
Acts as the 'Black Box' recorder for Argus to query.
"""
def __init__(self, state_file="/home/patrick/threat-engine-agent/threat-agent-state.json"):
def __init__(self, state_file="/root/threat-engine-agent/threat-agent-state.json"):
self.state_file = state_file
# Ensure the directory is writable
os.makedirs(os.path.dirname(os.path.abspath(self.state_file)), exist_ok=True)