<@U04S8PLJWMT> How to get Api server log ?
# ask-ai
j
@kapa.ai How to get Api server log ?
k
It depends on what you need: - Job (sync) logs: In the UI, go to the connection’s Job History, click the three dots next to a job, then “View logs” or “Download logs.” Downloading will union all attempts for that job. [[Browsing logs](https://docs.airbyte.com/platform/1.7/operator-guides/browsing-output-logs)]. - Open Source local logs (Docker volume): Find the attempt path (e.g., /tmp/workspace/<jobId>/<attemptId>) and browse the airbyte_workspace volume, for example: - Open an interactive shell:
docker run -it --rm --volume airbyte_workspace:/data busybox
- List files:
ls /data/<jobId>/<attemptId>/
(you should see logs.log, catalog.json, etc.) - Or run a one-off command:
docker run -it --rm --volume airbyte_workspace:/data busybox ls /data/<jobId>/<attemptId>
[[Exploring Local Logs](https://docs.airbyte.com/platform/operator-guides/browsing-output-logs#exploring-local-logs); [Next Exploring Local Logs](https://docs.airbyte.com/platform/next/operator-guides/browsing-output-logs#exploring-local-logs)]. - Server/Scheduler container logs (Open Source): From the host, you can dump logs directly from containers, e.g.,
docker logs airbyte-server
(or redirect to a file). This is commonly suggested for troubleshooting. [[Forum 2122](https://discuss.airbyte.io/t/2122); [Forum 3009](https://discuss.airbyte.io/t/3009); [Forum 1230](https://discuss.airbyte.io/t/1230)]. - Kubernetes: You can download logs from the UI as above, or retrieve pod logs via kubectl (not explicitly documented in the sources), and some forum replies ask for “complete server log file” when deployed via Helm. [[Forum 2861](https://discuss.airbyte.io/t/2861)]. If you’re on Airbyte Cloud: you can still view and download per-job logs in the UI as above. [[Browsing logs](https://docs.airbyte.com/platform/1.7/operator-guides/browsing-output-logs)].