How to disable component input/output values from appearing in langflow ui logs? #10370
Unanswered
aniketghumed14
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Langflow team,
I'm building a custom component that handles sensitive data which iam sending through langflow API when running the flow, and I want to prevent the input and output values from being logged in the Langflow UI logs.
Current Behavior:
When my component runs, all input values and output data are automatically captured and displayed in the Langflow UI's logging/tracing panel.
Desired Behavior:
I want to disable automatic logging of input/output values while still being able to use
self.log()for custom logging messages.What I've Tried:
I've overridden
get_trace_as_inputs()andget_trace_as_metadata()to return empty dictionaries:Questions:
Use Case:
My component (
CUSTOMCOMPONENT) accepts sensitive data as strings via API, and I need to ensure this data doesn't get logged for security/compliance reasons.Langflow Version: 1.6.5
Any guidance would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions