acoustic-pharmacist-34178
02/23/2026, 5:11 PMtall-airline-16756
02/23/2026, 5:12 PMtall-airline-16756
02/23/2026, 5:12 PMlogging module (e.g., logger = logging.getLogger("myAgent")). That integrates with standard Python log consumers and sinks.
• Node.js agents: Use the @livekit/agents logger (import { log } from '@livekit/agents'; log().info(...)) so your code emits the same structured logs.
• Client-side (browser) apps: Use setLogExtension() from the LiveKit JavaScript SDK to receive SDK log messages and forward them to your own logger or monitoring system:
import { setLogExtension } from 'livekit-client';
setLogExtension((level, msg, context) => {
// forward to your logging system
});
• External forwarding / observability: When running on LiveKit Cloud, logs can be forwarded to providers like Datadog, CloudWatch, Sentry, or New Relic by configuring the appropriate secrets. Agent logs are also available in the Agent Insights tab of the dashboard (requires compatible SDK versions and Agent Observability enabled), and can be downloaded as JSON.
If you’d like, tell me:
• Which runtime are you using (Python, Node.js, browser)?
• Are you running agents on LiveKit Cloud or self-hosted?
• Which external logging/monitoring provider (if any) do you want to forward logs to?
I can then give concrete setup steps or an example config for your environment.
Sources: Where to find your Agent Logs | LiveKit | How to Send Logs from the JavaScript SDK to External Providers | LiveKit