clean-doctor-99713
09/25/2025, 8:37 PMtall-airline-16756
09/25/2025, 8:37 PMtall-airline-16756
09/25/2025, 8:38 PMclean-doctor-99713
09/25/2025, 8:42 PMtall-airline-16756
09/25/2025, 8:42 PMlk agent logs to stream your runtime logs in real-time, including logs from the latest worker instance. If you're interested in Docker build logs, just run lk agent logs --log-type=build.
• Log Forwarding: For a more long-term and detailed approach, consider forwarding your logs to monitoring services like Datadog, CloudWatch, Sentry, or New Relic. For instance, adding a Datadog client token is simple with lk agent update-secrets --secrets "DATADOG_TOKEN=your-client-token".
• Log Levels: You can also tweak the verbosity by setting the log level in your Dockerfile. The default is INFO, but switching to DEBUG can give you more insight when troubleshooting.
Using structured logging and external tools can really enhance your analysis. If you'd like, I’m here to guide you through setting any of these up—just let me know!
Sources: Log collection | LiveKit Docs | Log collection | LiveKit Docs | Logs, metrics, and telemetry | LiveKit Docs | README.mdclean-doctor-99713
09/25/2025, 8:44 PMclean-doctor-99713
09/25/2025, 8:45 PMtall-airline-16756
09/25/2025, 8:46 PMlk agent update-secrets --secrets "NEW_RELIC_LICENSE_KEY=your-license-key".
This will take care of automatically sending all your agent runtime logs to your New Relic account.
About any concerns with interference—rest assured, there’s no indication that integrating New Relic affects how LiveKit functions. It works quietly in the background, just forwarding logs without changing agent behavior or using extra processing power. That said, it’s always wise to keep an eye on your system’s performance after turning on any telemetry, especially when you’re running in production.
If you have any questions or need a hand with the setup, please don’t hesitate to reach out. I’m here to help!
Sources: Log collection | LiveKit Docs | Docs/audio.md