Disable explicit LLM prompt and completion logging (OWASP LLM02)
ProprietaryDisable explicitly enabled LangChain4j request/response logging flags and Spring AI prompt/completion observation logging in Spring configuration. Only literal true values are replaced; dynamic flags and property placeholders are preserved. This removes diagnostic prompt/completion logs and reduces sensitive-data disclosure. It does not remove custom logging or SimpleLoggerAdvisor registrations.
org. openrewrite. ai. security. DisableLlmPromptLoggingmod run . --recipe= org. openrewrite. ai. security. DisableLlmPromptLoggingInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.