Skip to content

Logging: ADK should avoid logging UGC/PII #1145

@r4inee

Description

@r4inee

Is your feature request related to a specific problem?

ADK should avoid logging UGC/PII, in particular, in core components that is not opt-in or configurable by consumers.

For example:

logger.debug("event: {} functionCalls: {}", event, event.functionCalls());

Describe the Solution You'd Like

ADK to remove logging or redact sensitive user generated content, and can ideally apply guardrails to enforce this.

Impact on your work

Need to actively apply configuration to filter in/out logs which may contain UGC/PII

Willingness to contribute

Are you interested in implementing this feature yourself or submitting a PR?
Yes.


🟡 Recommended Information

Describe Alternatives You've Considered

Workaround exist by adding logback configuration

<logger name="com.google.adk" level="WARN"/>

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions