에이전트 런타임 로그를 스트리밍합니다.
Synopsis
워크스페이스의 에이전트 및 도구 런타임 로그를 확인합니다.
대화형 쿼리는 최대 6 시간까지 지원됩니다. 더 긴 범위를 쿼리하려면 최대 6 시간 단위의 여러 창으로 나누어 쿼리하세요. --since는 기간(기본값 1h) 또는 RFC3339 타임스탬프를 사용합니다. --tail은 가장 최근 항목을 반환하며 최대 5000개로 제한됩니다. 전체 창을 보려면 --all을 사용하세요.
로그는 워크스페이스가 배포된 후에만 존재합니다. CLI 자체 진단을 위해서는 agentengine debug logs을(를) 사용하세요.
예시:
agentengine logs --followagentengine logs --source agent --level error --grep "connection refused"agentengine logs [flags]옵션
--all Fetch all logs in the time range (auto-paginates through all pages within the 6-hour interactive window) --base-url string Platform base URL --context string Named context to target (see 'agentengine context list') --execution-id string Filter by execution ID-f, --follow Continuously poll for new logs --grep string Search log messages (case-insensitive substring match)-h, --help help for logs --json Output logs as JSON --level string Log level(s) to match exactly (debug, info, warn, error), comma- or space-separated --org-id string Organization ID --project-id string Project ID --session-id string Filter by session ID --since string Start time as duration (e.g. 30m, 2h) or RFC3339 timestamp (default "1h", maximum "6h") --source string Filter by source sandbox(s) (agent, tool), comma- or space-separated --tail int Number of most-recent entries to return (capped at 5000; use --all for the full window) (default 500) --until string End time as duration (e.g. 5m) or RFC3339 timestamp (default: now) --workspace string Monorepo: select a specific workspace by name (from root agent.yaml) --workspace-id string Workspace ID부모 명령에서 상속된 옵션
--log-file string override log file path --log-level string file log verbosity (error|warn|info|debug) (default "info") --no-log disable file logging-q, --quiet silence stderr below error-v, --verbose count raise stderr verbosity (-v info, -vv debug)다음도 참조하세요.
agentengine - 에이전트 엔진 로컬 개발 CLI.
agentengine 로그 내보내기 - 최대 24 시간 분량의 런타임 로그를 내보냅니다.