Massive Progress with Ansible Integration

This commit is contained in:
2025-10-02 04:01:05 -06:00
parent 3010f8031a
commit c3cf437b8f
3 changed files with 27 additions and 8 deletions

View File

@@ -32,7 +32,8 @@ import socketio
# Centralized logging helpers (Agent)
def _agent_logs_root() -> str:
try:
return os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..', 'Logs', 'Agent'))
root = _find_project_root()
return os.path.abspath(os.path.join(root, 'Logs', 'Agent'))
except Exception:
return os.path.abspath(os.path.join(os.path.dirname(__file__), 'Logs', 'Agent'))