How can I view LiveKit server logs for Cloud versi...
# ask-ai
f
How can I view LiveKit server logs for Cloud version?
t
Thanks for reaching out, David. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'm happy to help you view your LiveKit server logs for the Cloud version! Here are a few ways you can do that: • Real-Time Runtime Logs: You can easily stream logs in real time from the latest running instance of your agent using the LiveKit CLI. Just run this command:
livekit-cli agent logs --agent-id <your-agent-id>
. • Build Logs: To check Docker build logs, you can use the CLI with
livekit-cli agent build-logs --agent-id <your-agent-id>
, or simply head over to the LiveKit Cloud dashboard for a user-friendly view. • Persistent Logging: If you want to keep your logs for longer and analyze them, you can forward them to external services like Datadog, AWS CloudWatch, Sentry, or New Relic by setting up the necessary secrets. Just a quick note: LiveKit Cloud doesn’t store runtime logs on its own, so forwarding logs externally is key if you want to keep them. If you'd like, I’m here to guide you through setting up any of these options—just let me know! Sources: Log collection | LiveKit Docs