google-gemini/gemini-cli

[Hooks] Debug logs are too verbose

Open

#16,629 建立於 2026年1月14日

在 GitHub 查看
 (5 留言) (0 反應) (1 負責人)TypeScript (103,992 star) (13,657 fork)batch import
area/agenthelp wantedkind/bugpriority/p2priority/p3status/bot-triaged

描述

What happened?

Currently with --debug turned on and hooks enabled, the debug log is spammed with essentially the entire agent trajectory for every hook lifecycle entrypoint. This makes it almost impossible to navigate and understand the debug logs.

What did you expect to happen?

A short debug message of which hook lifecycle point was reached and which detected hooks were invoked

Client information

N/A

Login information

No response

Anything else we need to know?

No response

貢獻者指南