Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Console output of agents (console logging) - how to silence it? #1225

Unanswered
skye0402 asked this question in Q&A
Discussion options

I found that when setting verbose to False for both agents and crew that makes the thoughts and handover logs go away but e.g. all output from tools are shown in full verbosity: Web site content etc.

How can I stop this? It's jamming my applications log and it's hard to keep an overview.

You must be logged in to vote

Replies: 3 comments

Comment options

Did you find it?

You must be logged in to vote
0 replies
Comment options

how to silence prompt and sensitive information ?

You must be logged in to vote
0 replies
Comment options

I don't know if it could be the same problem I had. But even setting verbose=False for my agents, the logs were triggered. To disable event logging, before running my agent, I set it in the global scope of the class:

from crewai.crew import EventListener
from crewai.utilities.events.event_listener import ConsoleFormatter
my_listener = EventListener()
my_listener.formatter = ConsoleFormatter(verbose=False)
[...]

If it's the same problem as your's, maybe this doc helps: https://docs.crewai.com/en/concepts/event-listener#for-crew-based-applications

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
Converted from issue

This discussion was converted from issue #927 on August 20, 2024 13:05.

AltStyle によって変換されたページ (->オリジナル) /