logging package for runtime logs and no longer depends on Loguru. VeADK loggers live under the veadk namespace and write to standard output by default, which works with container platforms and log collectors.
Set the log level
SetLOGGING_LEVEL before importing VeADK. Its default is DEBUG.
DEBUG, INFO, WARNING, ERROR, and CRITICAL.
Log format
Each record contains the time, level, call location, and message:trace_id so you can correlate a request between logs and traces:
Integrate application logs
Your application can use standard-library loggers and control theveadk namespace independently:
LOGGING_LEVEL controls VeADK logs. Configure your application logger with its own handler, or call logging.basicConfig() before importing VeADK. By default, basicConfig() does not reconfigure an existing root handler. This example should print Agent initialized
logging handler to logging.getLogger("veadk").
Dispatch boundary logs
VeADK emits structured dispatch boundary logs at the INFO level to help locate request latency and call-chain issues. Each log line carries a bracketed prefix identifying the stage, along with fields such as session ID, model name, and elapsed time. Durations are expressed in milliseconds using a monotonic clock.Dispatch boundary logs are emitted at the INFO level. Set
LOGGING_LEVEL to INFO to see them; DEBUG is not required. Logging failures do not affect agent execution.Streaming output logs
During streaming execution,Runner does not log each partial chunk. Reasoning is logged once when a complete section finishes, while final answers, tool calls, and tool results are recorded as complete events. Events are still streamed unchanged to the caller; this behavior only reduces token-by-token log noise.