google-gemini/gemini-cli

[Hooks] Debug logs are too verbose

Closed

#16,629 opened on Jan 14, 2026

 (6 comments) (0 reactions) (1 assignee)TypeScript (13,657 forks)batch import
area/agenthelp wantedkind/bugpriority/p2priority/p3status/bot-triagedstatus/need-information

Repository metrics

Stars
 (103,992 stars)
PR merge metrics
 (Avg merge 4d 2h) (55 merged PRs in 30d)

Description

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

Contributor guide