-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Description
Hello,
There are a few issues with the logger in the ADK.
- It seems ADK makes decision by itself what to log, when and how. This is too much power.
- The logs are not formatted properly on GCP. Here is how a log entry looks on Cloud Run:
Please, note these [32m, [0m. What do they mean?
- Logging such a message as this one below is not ideal - there is no id, nothing. We can't group these messages on GCP to know to which conversation they belong, who was the user, etc.:
2026-01-27 15:41:57.151
�[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-pro, backend: VERTEX_AI, stream: false
-
When we deploy something on GCP, we are normally using
import { LoggingWinston } from '@google-cloud/logging-winston';and we have pretty good formatted logs.
How can we provide custom transport/format to the CLI? It seems there is only--log_level <stringwhen we useadk deploy. -
Is there a way to customize or disable these log entries? It seems the only option is to set
setLogLevel(LogLevel.ERROR);.
Best regards,
Iliyan
==
Metadata
Metadata
Assignees
Labels
No labels