When running agent in dev mode, the Egress will no...
# ask-ai
f
When running agent in dev mode, the Egress will not work ? (e.g send the recordings to S3)
t
Thanks for reaching out, Carlos. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hi there! I just wanted to reassure you that running the agent in dev mode won’t impact the Egress functionality, including sending recordings to S3. Egress works as a separate service, and its settings for storage destinations like S3 are independent of the agent’s runtime mode. To make sure everything runs smoothly, please double-check that the Egress service and its storage configurations are properly set up to handle your recordings. If you need any help with that, I’m here for you! Sources: Session recording and transcripts | LiveKit docs | app/api/record/start/route.ts | Voice AI quickstart | LiveKit docs | README.md | test/config-sample.yaml
f
Is there any way to see egress logs when the call ran locally ?
t
To help you view egress logs while running locally, here’s a simple way to do it: 1. First, set the
log_level
to
debug
in your
config.yaml
file. This will make sure you get detailed logging information. 2. Next, run the Egress service using Docker. You’ll see the logs directly in the terminal where the Docker container is running. Here’s a command you can use as an example:
Copy code
docker run --rm \
  --cap-add SYS_ADMIN \
  -e EGRESS_CONFIG_FILE=/out/config.yaml \
  -v ~/livekit-egress:/out \
  livekit/egress
If you’d prefer to save the logs to a file, you can simply add
> /path/to/egress.log 2>&1
at the end of the Docker command. Please feel free to reach out if you have any questions or need a hand with this—I’m here to help! Sources: Self-hosting the Egress Service | LiveKit docs | Log collection | LiveKit Docs