Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/Log Component Level #518

Merged
merged 2 commits into from
Jul 11, 2023
Merged

Feature/Log Component Level #518

merged 2 commits into from
Jul 11, 2023

Conversation

HenryHengZJ
Copy link
Contributor

Add LOG_LEVEL and more loggers on verbose and debug.

This new changes added logger on every chain/agents, and logger error with stack trace
image

@HenryHengZJ
Copy link
Contributor Author

@matthias here is the PR for adding loggers on components

@matthias
Copy link
Contributor

Looks cool.

I haven't figured out where you configure the logger. From where is options.logger coming? Just can't figure this out.

const loggerHandler = new ConsoleCallbackHandler(options.logger)

And: I did locally install the branch - but couldn't figure out how to enable the chain logging ... (.env ?)

@HenryHengZJ
Copy link
Contributor Author

HenryHengZJ commented Jul 11, 2023

in packages/server/src/utils/index.ts line 233, for chain logging i set it as verbose, so you need to add LOG_LEVEL=debug in your .env file

@HenryHengZJ HenryHengZJ merged commit 2edb631 into main Jul 11, 2023
JohnBQuinn pushed a commit to JohnBQuinn/Flowise that referenced this pull request Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants