salmon-lighter-12882
03/01/2025, 5:37 PMgray-monkey-83525
03/01/2025, 5:37 PM--log-level
option. For example, to set the logging level to "info" and suppress debug logs, you can run your agent with the following command:
python agent.py start --log-level info
Would you like more details on configuring logging levels?
Sources:
- LiveKit Agents CLI documentation 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.salmon-lighter-12882
03/01/2025, 5:45 PMgray-monkey-83525
03/01/2025, 5:45 PM--log-level
option should control the verbosity of the logs. Here are a few things you can check:
1. Ensure Correct Command Usage: Double-check that the command is correctly formatted and that there are no typos. The command should look like this:
python3 -m app.services.agent_worker start --log-level INFO
2. Check for Overriding Configurations: There might be other parts of your application or environment that are setting the log level to DEBUG
. Look for any configuration files or environment variables that might be affecting the log level.
3. Verify Log Level Setting in Code: If your application has custom logging setup, ensure that the log level is being set correctly in the code. You might need to explicitly set the log level in your Python code using the logging module.
4. Inspect the Logging Setup: If your application uses a logging configuration file or a setup function, ensure that it respects the --log-level
parameter.
Would you like more detailed guidance on any of these steps?
Sources:
- LiveKit Agents CLI documentation 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.