Skip to content
Discussion options

You must be logged in to vote

Hey @lianggecm! I'm here to help you with any bugs, questions, or contributions you have. Let me know how I can assist you!

Yes, it is possible to disable logs for a specific flow to prevent large output and improve IDE responsiveness. You can use the disable_logs parameter in the load_flow_from_json and run_flow_from_json functions to disable logging for the flow processing.

Here is the relevant code snippet:

def load_flow_from_json(
    flow: Union[Path, str, dict],
    tweaks: Optional[dict] = None,
    log_level: Optional[str] = None,
    log_file: Optional[str] = None,
    env_file: Optional[str] = None,
    cache: Optional[str] = None,
    disable_logs: Optional[bool] = True,
) -> G…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by fcmomentum
Comment options

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
2 participants