This commit is contained in:
2026-03-18 01:26:55 -07:00
parent d5c7d4683d
commit b0e89ff950
6 changed files with 1310 additions and 227 deletions

View File

@@ -2381,6 +2381,22 @@ def _run(result: Any, args: Sequence[str], config: Dict[str, Any]) -> int:
except Exception as e:
debug(f"Could not fetch database logs: {e}")
pass
fallback_logs = [
("Medeia Lua log file tail", str(_lua_log_file())),
("Medeia helper log file tail", str(_helper_log_file())),
]
for title, path in fallback_logs:
try:
lines = _tail_text_file(path, max_lines=120)
except Exception:
lines = []
lines = _apply_log_filter(lines, log_filter_text)
if not lines:
continue
print(f"{title}:")
for line in lines:
print(line)
except Exception:
pass
try: