Monitor real-time conversations, debug issues, and collect user feedback
Conversation logs provide detailed visibility into every interaction with your AI application. Use them to debug specific issues, understand user behavior patterns, and collect feedback for continuous improvement.
What Gets Logged
All User InteractionsEvery conversation through your web app or API is logged with complete input/output history, timing data, and system metadata.User FeedbackThumbs up/down ratings and user comments are captured alongside the conversations they reference.System ContextModel used, token consumption, response times, and any errors or warnings during processing.Exclusions: Debugging sessions and prompt testing are not included in logs.
Use the Logs Console
Access logs from your application’s navigation menu. The interface shows:
Conversation Timeline: Chronological list of user interactions
Message Details: Full conversation context with AI responses
Performance Data: Response times and token usage per interaction
User Feedback: Ratings and comments from users and team members
Debug with Logs
Failed InteractionsQuickly identify conversations where the AI provided poor responses, failed to understand user intent, or encountered errors.Performance IssuesSpot slow responses, high token usage, or system errors that affect user experience.User Journey AnalysisFollow individual users through multiple conversations to understand usage patterns and pain points.
Feedback Collection
User RatingsUsers can provide thumbs up/down feedback on AI responses. Track satisfaction trends over time.Team AnnotationsTeam members can add internal notes and improved responses directly in the log interface.Feedback AnalysisIdentify common complaint patterns, successful interaction types, and areas needing improvement.
Log Retention
Ensure your application complies with local data privacy regulations. Publish a privacy policy and obtain user consent where required.
Logs are retained indefinitely by default. To cap database growth, enable scheduled cleanup and set a retention window through the workflow log cleanup environment variables. See Workflow Log Cleanup for the full set of variables.Consider configuring shorter retention periods for applications handling sensitive data, or anonymize logs where appropriate.
Improve Applications with Logs
Pattern RecognitionLook for recurring user questions that your application handles poorly. These indicate opportunities for prompt improvements or knowledge base updates.Response QualityUse feedback patterns to identify which types of responses work well and which need refinement.Performance OptimizationTrack response times and token usage to identify inefficient prompts or model configurations.Content GapsSpot topics or question types where your application consistently struggles, indicating areas for knowledge base expansion.
Privacy Considerations
Logs contain complete user conversations and may include sensitive information. Implement appropriate access controls and ensure compliance with applicable data protection regulations.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Dify Enterprise Docs","colors":{"primary":"#0060FF","light":"#688FE8","dark":"#0034FF"},"logo":{"light":"https://assets-docs.dify.ai/2025/05/d05cfc6ebe48f725d171dc71c64a5d16.svg","dark":"https://assets-docs.dify.ai/2025/05/c51f1cda47c1d9a4a162d7736f6e4c53.svg"},"favicon":"https://mintcdn.com/dify-enterprise-docs/zvhvyUvEpyoIONBf/logo/dify-logo.png?fit=max\u0026auto=format\u0026n=zvhvyUvEpyoIONBf\u0026q=85\u0026s=e0afd8349b7a272ad12280680a53043c","navbar":{"links":[{"href":"mailto:support@dify.ai","label":"Support"}]},"footer":{"socials":{"x":"https://x.com/dify_ai","github":"https://github.com/langgenius/dify","linkedin":"https://www.linkedin.com/company/langgenius"}},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":"en/3.13.x/deploy/checklist"},{"language":"zh","href":"zh/3.13.x/deploy/checklist"},{"language":"ja","href":"ja/3.13.x/deploy/checklist"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dify-enterprise-docs","hasAudioNarration":false,"actualSubdomain":"dify-enterprise-docs","customDomains":["enterprise-docs.dify.ai"],"gitSource":{"type":"github","owner":"langgenius","repo":"dify-enterprise-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6affdf354fe44a98107414cd","clientVersion":"0.0.4248","searchFilterCounts":[{"language":"en","tag":"Developer Resources","count":1947},{"language":"ja","tag":"開発者リソース","count":1947},{"language":"zh","tag":"开发者资源","count":1947},{"language":"en","tag":"Use","count":1401},{"language":"ja","tag":"使い方","count":1401},{"language":"zh","tag":"使用","count":1401},{"language":"en","tag":"Workspace API","count":1353},{"language":"ja","tag":"Workspace API","count":1353},{"language":"zh","tag":"Workspace API","count":1353},{"language":"en","tag":"Knowledge APIs","count":639},{"language":"ja","tag":"ナレッジ API","count":639},{"language":"zh","tag":"知识库 API","count":639},{"language":"en","tag":"Orchestrate","count":620},{"language":"ja","tag":"オーケストレーション","count":620},{"language":"zh","tag":"编排","count":620},{"language":"en","tag":"App APIs","count":545},{"language":"ja","tag":"アプリ API","count":545},{"language":"zh","tag":"应用 API","count":545},{"language":"en","tag":"Workflow \u0026 Chatflow","count":533},{"language":"ja","tag":"ワークフローとチャットフロー","count":533},{"language":"zh","tag":"工作流与对话流","count":533},{"language":"en","tag":"Deploy","count":530},{"language":"ja","tag":"デプロイ","count":530},{"language":"zh","tag":"部署","count":530},{"language":"en","tag":"Plugins","count":524},{"language":"ja","tag":"プラグイン開発","count":522},{"language":"zh","tag":"插件开发","count":522},{"language":"ja","tag":"管理","count":470},{"language":"zh","tag":"管理","count":470},{"language":"en","tag":"Administer","count":420}],"searchSettings":{"maxResults":12}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"body{text-autospace:normal}html[data-current-path=\"/\"] .nav-tabs{display:none}"}]}
{"page":{"pagePath":"en/3.6.x/use/monitor/logs","slug":"/en/3.6.x/use/monitor/logs","pageMetadata":{"title":"Logs","description":"Monitor real-time conversations, debug issues, and collect user feedback","href":"/en/3.6.x/use/monitor/logs"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Monitor real-time conversations, debug issues, and collect user feedback\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Conversation logs provide detailed visibility into every interaction with your AI application. Use them to debug specific issues, understand user behavior patterns, and collect feedback for continuous improvement.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-gets-logged`,children:`What Gets Logged`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`All User Interactions`})}),`\n`,_jsx(_components.p,{children:`Every conversation through your web app or API is logged with complete input/output history, timing data, and system metadata.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`User Feedback`})}),`\n`,_jsx(_components.p,{children:`Thumbs up/down ratings and user comments are captured alongside the conversations they reference.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`System Context`})}),`\n`,_jsx(_components.p,{children:`Model used, token consumption, response times, and any errors or warnings during processing.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Exclusions`}),`: Debugging sessions and prompt testing are not included in logs.`]}),`\n`,_jsx(Heading,{level:`2`,id:`use-the-logs-console`,children:`Use the Logs Console`}),`\n`,_jsx(_components.p,{children:`Access logs from your application’s navigation menu. The interface shows:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Conversation Timeline`}),`: Chronological list of user interactions`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Message Details`}),`: Full conversation context with AI responses`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Performance Data`}),`: Response times and token usage per interaction`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`User Feedback`}),`: Ratings and comments from users and team members`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`debug-with-logs`,children:`Debug with Logs`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Failed Interactions`})}),`\n`,_jsx(_components.p,{children:`Quickly identify conversations where the AI provided poor responses, failed to understand user intent, or encountered errors.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Performance Issues`})}),`\n`,_jsx(_components.p,{children:`Spot slow responses, high token usage, or system errors that affect user experience.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`User Journey Analysis`})}),`\n`,_jsx(_components.p,{children:`Follow individual users through multiple conversations to understand usage patterns and pain points.`}),`\n`,_jsx(Heading,{level:`2`,id:`feedback-collection`,children:`Feedback Collection`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`User Ratings`})}),`\n`,_jsx(_components.p,{children:`Users can provide thumbs up/down feedback on AI responses. Track satisfaction trends over time.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Team Annotations`})}),`\n`,_jsx(_components.p,{children:`Team members can add internal notes and improved responses directly in the log interface.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Feedback Analysis`})}),`\n`,_jsx(_components.p,{children:`Identify common complaint patterns, successful interaction types, and areas needing improvement.`}),`\n`,_jsx(Heading,{level:`2`,id:`log-retention`,children:`Log Retention`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Ensure your application complies with local data privacy regulations. Publish a privacy policy and obtain user consent where required.`})}),`\n`,_jsxs(_components.p,{children:[`Logs are retained indefinitely by default. To cap database growth, enable scheduled cleanup and set a retention window through the workflow log cleanup environment variables. See `,_jsx(_components.a,{href:`/en/3.6.x/deploy/advanced-configuration/environment-variables#workflow-log-cleanup`,children:`Workflow Log Cleanup`}),` for the full set of variables.`]}),`\n`,_jsx(_components.p,{children:`Consider configuring shorter retention periods for applications handling sensitive data, or anonymize logs where appropriate.`}),`\n`,_jsx(Heading,{level:`2`,id:`improve-applications-with-logs`,children:`Improve Applications with Logs`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Pattern Recognition`})}),`\n`,_jsx(_components.p,{children:`Look for recurring user questions that your application handles poorly. These indicate opportunities for prompt improvements or knowledge base updates.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Response Quality`})}),`\n`,_jsx(_components.p,{children:`Use feedback patterns to identify which types of responses work well and which need refinement.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Performance Optimization`})}),`\n`,_jsx(_components.p,{children:`Track response times and token usage to identify inefficient prompts or model configurations.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Content Gaps`})}),`\n`,_jsx(_components.p,{children:`Spot topics or question types where your application consistently struggles, indicating areas for knowledge base expansion.`}),`\n`,_jsx(Heading,{level:`2`,id:`privacy-considerations`,children:`Privacy Considerations`}),`\n`,_jsx(_components.p,{children:`Logs contain complete user conversations and may include sensitive information. Implement appropriate access controls and ensure compliance with applicable data protection regulations.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Logs","description":"Monitor real-time conversations, debug issues, and collect user feedback","href":"/en/3.6.x/use/monitor/logs"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What Gets Logged","slug":"what-gets-logged","depth":2,"children":[]},{"title":"Use the Logs Console","slug":"use-the-logs-console","depth":2,"children":[]},{"title":"Debug with Logs","slug":"debug-with-logs","depth":2,"children":[]},{"title":"Feedback Collection","slug":"feedback-collection","depth":2,"children":[]},{"title":"Log Retention","slug":"log-retention","depth":2,"children":[]},{"title":"Improve Applications with Logs","slug":"improve-applications-with-logs","depth":2,"children":[]},{"title":"Privacy Considerations","slug":"privacy-considerations","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"dify-enterprise-docs","siteName":"Dify Enterprise Docs","title":"Logs - Dify Enterprise Docs","navMaps":{"firstHrefInVersion":{"3.13.x":{"href":"/en/3.13.x/use/monitor/logs","matchLevel":1},"3.12.x":{"href":"/en/3.12.x/use/monitor/logs","matchLevel":1},"3.11.x":{"href":"/en/3.11.x/use/monitor/logs","matchLevel":1},"3.10.x":{"href":"/en/3.10.x/use/monitor/logs","matchLevel":1},"3.9.x":{"href":"/en/3.9.x/use/monitor/logs","matchLevel":1},"3.8.x":{"href":"/en/3.8.x/use/monitor/logs","matchLevel":1},"3.7.x":{"href":"/en/3.7.x/use/monitor/logs","matchLevel":1},"3.6.x":{"href":"/en/3.6.x/use/monitor/logs","matchLevel":0},"3.5.x":{"href":"/en/3.5.x/use/monitor/logs","matchLevel":1},"3.4.x":{"href":"/en/3.4.x/use/monitor/logs","matchLevel":1},"3.3.x":{"href":"/en/3.3.x/use/monitor/logs","matchLevel":1},"3.2.x":{"href":"/en/3.2.x/use/monitor/logs","matchLevel":1},"3.1.x":{"href":"/en/3.1.x/use/monitor/logs","matchLevel":1},"3.0.x":{"href":"/en/3.0.x/use/monitor/logs","matchLevel":1},"2.8.x":{"href":"/en/2.8.x/use/monitor/logs","matchLevel":1},"2.7.x":{"href":"/en/2.7.x/use/monitor/logs","matchLevel":1},"2.6.x":{"href":"/en/2.6.x/use/monitor/logs","matchLevel":1},"2.5.x":{"href":"/en/2.5.x/use/monitor/logs","matchLevel":1}},"firstHrefInLanguage":{"en":{"href":"/en/3.6.x/use/monitor/logs","matchLevel":0},"zh":{"href":"/zh/3.6.x/use/monitor/logs","matchLevel":1},"ja":{"href":"/ja/3.6.x/use/monitor/logs","matchLevel":1}}},"lastModified":"2026-08-21T07:24:49.062Z","originalFileLocation":"en/3.6.x/use/monitor/logs.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Monitor real-time conversations, debug issues, and collect user feedback\">\u003cmeta data-mint-head name=\"application-name\" content=\"Dify Enterprise Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dify-enterprise-docs/0-RXGeruZhgwpkgZ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/dify-enterprise-docs/0-RXGeruZhgwpkgZ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dify-enterprise-docs/0-RXGeruZhgwpkgZ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dify-enterprise-docs/0-RXGeruZhgwpkgZ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dify-enterprise-docs/0-RXGeruZhgwpkgZ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dify-enterprise-docs/0-RXGeruZhgwpkgZ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dify-enterprise-docs/0-RXGeruZhgwpkgZ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dify-enterprise-docs/0-RXGeruZhgwpkgZ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dify-enterprise-docs/0-RXGeruZhgwpkgZ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Logs - Dify Enterprise Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Monitor real-time conversations, debug issues, and collect user feedback\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Dify Enterprise Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://enterprise-docs.dify.ai/en/3.6.x/use/monitor/logs\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dify-enterprise-docs.mintlify.site/_mintlify/api/og/v2?division=Monitor\u0026amp;title=Logs\u0026amp;description=Monitor+real-time+conversations%2C+debug+issues%2C+and+collect+user+feedback\u0026amp;theme=e95e546bd9c3a8e3c27c730b\u0026amp;signature=8cde616adb75d8dd81c0c239d55e40c2f3fcdd2c9ef2869a7032c751079fcdf0\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Logs - Dify Enterprise Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Monitor real-time conversations, debug issues, and collect user feedback\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dify-enterprise-docs.mintlify.site/_mintlify/api/og/v2?division=Monitor\u0026amp;title=Logs\u0026amp;description=Monitor+real-time+conversations%2C+debug+issues%2C+and+collect+user+feedback\u0026amp;theme=e95e546bd9c3a8e3c27c730b\u0026amp;signature=8cde616adb75d8dd81c0c239d55e40c2f3fcdd2c9ef2869a7032c751079fcdf0\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/dify-enterprise-docs/0-RXGeruZhgwpkgZ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Dify Enterprise Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0060FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://enterprise-docs.dify.ai/en/3.6.x/use/monitor/logs\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/3.6.x/use/monitor/logs.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://enterprise-docs.dify.ai/en/3.6.x/use/monitor/logs\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://enterprise-docs.dify.ai/zh/3.6.x/use/monitor/logs\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://enterprise-docs.dify.ai/ja/3.6.x/use/monitor/logs\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://enterprise-docs.dify.ai/en/3.6.x/use/monitor/logs\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://enterprise-docs.dify.ai/#organization\",\"name\":\"Dify Enterprise Docs\",\"url\":\"https://enterprise-docs.dify.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://assets-docs.dify.ai/2025/05/d05cfc6ebe48f725d171dc71c64a5d16.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://enterprise-docs.dify.ai#website\",\"name\":\"Dify Enterprise Docs\",\"url\":\"https://enterprise-docs.dify.ai\",\"publisher\":{\"@id\":\"https://enterprise-docs.dify.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://enterprise-docs.dify.ai/en/3.6.x/use/monitor/logs#webpage\",\"url\":\"https://enterprise-docs.dify.ai/en/3.6.x/use/monitor/logs\",\"name\":\"Logs\",\"description\":\"Monitor real-time conversations, debug issues, and collect user feedback\",\"dateModified\":\"2026-08-21T07:24:49.062Z\",\"isPartOf\":{\"@id\":\"https://enterprise-docs.dify.ai#website\"},\"breadcrumb\":{\"@id\":\"https://enterprise-docs.dify.ai/en/3.6.x/use/monitor/logs#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://enterprise-docs.dify.ai/en/3.6.x/use/monitor/logs#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Monitor\",\"item\":\"https://enterprise-docs.dify.ai/en/3.6.x/use/monitor/analysis\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Logs\",\"item\":\"https://enterprise-docs.dify.ai/en/3.6.x/use/monitor/logs\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://enterprise-docs.dify.ai/en/3.6.x/use/monitor/logs#article\",\"headline\":\"Logs\",\"name\":\"Logs\",\"description\":\"Monitor real-time conversations, debug issues, and collect user feedback\",\"url\":\"https://enterprise-docs.dify.ai/en/3.6.x/use/monitor/logs\",\"mainEntityOfPage\":{\"@id\":\"https://enterprise-docs.dify.ai/en/3.6.x/use/monitor/logs#webpage\"},\"dateModified\":\"2026-08-21T07:24:49.062Z\",\"publisher\":{\"@id\":\"https://enterprise-docs.dify.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://enterprise-docs.dify.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Dify Enterprise Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Dify Enterprise Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/3.6.x/use/monitor/logs.md","siteName":"Dify Enterprise Docs","nav":{"global":null,"languages":[{"language":"en","default":true,"versions":[{"version":"3.13.x","tag":"LTS","pages":[{"title":"3.13.x","href":"/en/3.13.x/use/monitor/logs"}]},{"version":"3.12.x","pages":[{"title":"3.12.x","href":"/en/3.12.x/use/monitor/logs"}]},{"version":"3.11.x","pages":[{"title":"3.11.x","href":"/en/3.11.x/use/monitor/logs"}]},{"version":"3.10.x","pages":[{"title":"3.10.x","href":"/en/3.10.x/use/monitor/logs"}]},{"version":"3.9.x","tag":"LTS","pages":[{"title":"3.9.x","href":"/en/3.9.x/use/monitor/logs"}]},{"version":"3.8.x","pages":[{"title":"3.8.x","href":"/en/3.8.x/use/monitor/logs"}]},{"version":"3.7.x","pages":[{"title":"3.7.x","href":"/en/3.7.x/use/monitor/logs"}]},{"version":"3.6.x","tabs":[{"tab":"Deploy","pages":[{"title":"Deploy","href":"/en/3.6.x/deploy/checklist"}]},{"tab":"Administer","pages":[{"title":"Administer","href":"/en/3.6.x/administer/workspace-management"}]},{"tab":"Use","pages":[{"group":"Orchestrate","icon":"hammer","pages":[{"group":"Workflow \u0026 Chatflow","expanded":false,"pages":[{"title":"Workflow \u0026 Chatflow","sidebarTitle":"Overview","href":"/en/3.6.x/use/build/workflow-chatflow"},{"title":"Orchestration Logic","href":"/en/3.6.x/use/build/orchestrate-node"},{"group":"Nodes","expanded":false,"pages":[{"title":"Start","href":"/en/3.6.x/use/nodes/user-input"},{"title":"LLM","href":"/en/3.6.x/use/nodes/llm"},{"title":"Knowledge Retrieval","href":"/en/3.6.x/use/nodes/knowledge-retrieval"},{"title":"Answer","href":"/en/3.6.x/use/nodes/answer"},{"title":"End","href":"/en/3.6.x/use/nodes/output"},{"title":"Agent","href":"/en/3.6.x/use/nodes/agent"},{"title":"Question Classifier","href":"/en/3.6.x/use/nodes/question-classifier"},{"title":"If-Else","href":"/en/3.6.x/use/nodes/ifelse"},{"title":"Iteration","href":"/en/3.6.x/use/nodes/iteration"},{"title":"Loop","href":"/en/3.6.x/use/nodes/loop"},{"title":"Code","href":"/en/3.6.x/use/nodes/code"},{"title":"Template","href":"/en/3.6.x/use/nodes/template"},{"title":"Variable Aggregator","href":"/en/3.6.x/use/nodes/variable-aggregator"},{"title":"Document Extractor","href":"/en/3.6.x/use/nodes/doc-extractor"},{"title":"Variable Assigner","href":"/en/3.6.x/use/nodes/variable-assigner"},{"title":"Parameter Extractor","href":"/en/3.6.x/use/nodes/parameter-extractor"},{"title":"HTTP Request","href":"/en/3.6.x/use/nodes/http-request"},{"title":"List Operator","href":"/en/3.6.x/use/nodes/list-operator"},{"title":"Tool Node","sidebarTitle":"Tool","href":"/en/3.6.x/use/nodes/tools"}]},{"title":"Hotkeys","href":"/en/3.6.x/use/build/shortcut-key"},{"title":"Use MCP Tools","href":"/en/3.6.x/use/build/mcp"},{"title":"Version Control","href":"/en/3.6.x/use/build/version-control"},{"group":"Debug","expanded":false,"pages":[{"title":"Handle Errors","href":"/en/3.6.x/use/build/predefined-error-handling-logic"},{"title":"Single Node","href":"/en/3.6.x/use/debug/step-run"},{"title":"Variable Inspector","href":"/en/3.6.x/use/debug/variable-inspect"},{"title":"Run History","href":"/en/3.6.x/use/debug/history-and-logs"},{"title":"Error Types","href":"/en/3.6.x/use/debug/error-type"}]}]},{"group":"Basic Apps","expanded":false,"pages":[{"title":"Agent","href":"/en/3.6.x/use/build/agent"},{"title":"Chatbot","sidebarTitle":"Chatbot","href":"/en/3.6.x/use/build/chatbot"},{"title":"Text Generator","sidebarTitle":"Text Generator","href":"/en/3.6.x/use/build/text-generator"}]},{"title":"App Toolkit","href":"/en/3.6.x/use/build/additional-features"},{"title":"Go to Anything","href":"/en/3.6.x/use/build/goto-anything"}]},{"group":"Publish","icon":"paper-plane","expanded":false,"pages":[{"title":"Overview","href":"/en/3.6.x/use/publish/README"},{"group":"Web App","pages":[{"title":"Workflow Web Apps","href":"/en/3.6.x/use/publish/webapp/workflow-webapp"},{"title":"Chat Web Apps","href":"/en/3.6.x/use/publish/webapp/chatflow-webapp"},{"title":"Settings","href":"/en/3.6.x/use/publish/webapp/web-app-settings"},{"title":"Access Control","href":"/en/3.6.x/use/publish/webapp/web-app-access"},{"title":"Embed Your Web App","sidebarTitle":"Embeds","href":"/en/3.6.x/use/publish/webapp/embedding-in-websites"}]},{"title":"MCP Server","href":"/en/3.6.x/use/publish/publish-mcp"}]},{"group":"Monitor","icon":"chart-line","expanded":false,"pages":[{"title":"Dashboard","description":"Monitor performance, costs, and user engagement through Dify's built-in analytics dashboard","href":"/en/3.6.x/use/monitor/analysis"},{"title":"Logs","href":"/en/3.6.x/use/monitor/logs"},{"title":"Annotation System","description":"Build a curated library of high-quality responses to improve consistency and bypass AI generation","href":"/en/3.6.x/use/monitor/annotation-reply"},{"group":"Integrations","pages":[{"title":"Integrate with LangSmith","sidebarTitle":"LangSmith","href":"/en/3.6.x/use/monitor/integrations/integrate-langsmith"},{"title":"Integrate with Langfuse","sidebarTitle":"Langfuse","href":"/en/3.6.x/use/monitor/integrations/integrate-langfuse"},{"title":"Integrate with Opik","sidebarTitle":"Opik","href":"/en/3.6.x/use/monitor/integrations/integrate-opik"},{"title":"Integrate with W\u0026B Weave","sidebarTitle":"W\u0026B Weave","href":"/en/3.6.x/use/monitor/integrations/integrate-weave"},{"title":"Integrate with Arize","sidebarTitle":"Arize","href":"/en/3.6.x/use/monitor/integrations/integrate-arize"},{"title":"Integrate with Phoenix","sidebarTitle":"Phoenix","href":"/en/3.6.x/use/monitor/integrations/integrate-phoenix"},{"title":"Integrate with Alibaba Cloud Monitor","sidebarTitle":"Alibaba Cloud Monitor","href":"/en/3.6.x/use/monitor/integrations/integrate-aliyun"}]}]},{"group":"Knowledge","icon":"book","expanded":false,"pages":[{"title":"Knowledge","sidebarTitle":"Overview","href":"/en/3.6.x/use/knowledge/readme"},{"group":"Create","pages":[{"group":"Quick Create","pages":[{"title":"Quick Create Knowledge","sidebarTitle":"Overview","href":"/en/3.6.x/use/knowledge/create-knowledge/introduction"},{"group":"Import Data","pages":[{"title":"Upload Local Files","href":"/en/3.6.x/use/knowledge/create-knowledge/import-text-data/readme"},{"title":"Sync Data from Notion","href":"/en/3.6.x/use/knowledge/create-knowledge/import-text-data/sync-from-notion"},{"title":"Import Data from Website","href":"/en/3.6.x/use/knowledge/create-knowledge/import-text-data/sync-from-website"}]},{"title":"Configure the Chunk Settings","href":"/en/3.6.x/use/knowledge/create-knowledge/chunking-and-cleaning-text"},{"title":"Specify the Index Method and Retrieval Settings","href":"/en/3.6.x/use/knowledge/create-knowledge/setting-indexing-methods"}]},{"group":"Create from Knowledge Pipeline","pages":[{"title":"Create Knowledge from a Knowledge Pipeline","sidebarTitle":"Overview","href":"/en/3.6.x/use/knowledge/knowledge-pipeline/readme"},{"title":"Step 1: Create Knowledge Pipeline","href":"/en/3.6.x/use/knowledge/knowledge-pipeline/create-knowledge-pipeline"},{"title":"Step 2: Orchestrate Knowledge Pipeline","href":"/en/3.6.x/use/knowledge/knowledge-pipeline/knowledge-pipeline-orchestration"},{"title":"Step 3: Publish Knowledge Pipeline","href":"/en/3.6.x/use/knowledge/knowledge-pipeline/publish-knowledge-pipeline"},{"title":"Step 4: Upload Files","href":"/en/3.6.x/use/knowledge/knowledge-pipeline/upload-files"},{"title":"Step 5: Manage and Use Knowledge Base","href":"/en/3.6.x/use/knowledge/knowledge-pipeline/manage-knowledge-base"},{"title":"Authorize Data Source","href":"/en/3.6.x/use/knowledge/knowledge-pipeline/authorize-data-source"}]},{"group":"Connect to External Knowledge","pages":[{"title":"Connect to External Knowledge Base","sidebarTitle":"Overview","href":"/en/3.6.x/use/knowledge/connect-external-knowledge-base"},{"title":"External Knowledge API","href":"/en/3.6.x/use/knowledge/external-knowledge-api"}]}]},{"group":"Manage","pages":[{"title":"Manage Knowledge Content","sidebarTitle":"Documents \u0026 Chunks","href":"/en/3.6.x/use/knowledge/manage-knowledge/maintain-knowledge-documents"},{"title":"Manage Document Metadata","sidebarTitle":"Metadata","href":"/en/3.6.x/use/knowledge/metadata"},{"title":"Manage Knowledge Settings","sidebarTitle":"Settings","href":"/en/3.6.x/use/knowledge/manage-knowledge/introduction"}]},{"title":"Test Knowledge Retrieval","sidebarTitle":"Test Retrieval","href":"/en/3.6.x/use/knowledge/test-retrieval"},{"title":"Integrate Knowledge within Apps","sidebarTitle":"Integrate in Apps","href":"/en/3.6.x/use/knowledge/integrate-knowledge-within-application"}]},{"group":"Workspace","icon":"briefcase","expanded":false,"pages":[{"title":"Overview","href":"/en/3.6.x/use/workspace/readme"},{"title":"Model Providers","href":"/en/3.6.x/use/workspace/model-providers"},{"title":"Plugins","href":"/en/3.6.x/use/workspace/plugins"},{"title":"Dify Tools","sidebarTitle":"Tools","href":"/en/3.6.x/use/workspace/tools"},{"title":"Manage Apps","href":"/en/3.6.x/use/workspace/app-management"},{"title":"Manage Members","href":"/en/3.6.x/use/workspace/team-members-management"},{"title":"Personal Settings","href":"/en/3.6.x/use/workspace/personal-account-management"},{"group":"API Extension","pages":[{"title":"API Extensions","sidebarTitle":"Overview","href":"/en/3.6.x/use/workspace/api-extension/api-extension"},{"title":"External Data Tool","href":"/en/3.6.x/use/workspace/api-extension/external-data-tool-api-extension"},{"title":"Sensitive Content Moderation","href":"/en/3.6.x/use/workspace/api-extension/moderation-api-extension"},{"title":"Deploy API Extensions Using Cloudflare Workers","href":"/en/3.6.x/use/workspace/api-extension/cloudflare-worker"}]}]}]},{"tab":"Developer Resources","menu":[{"item":"Workspace API","pages":[{"title":"Workspace API","href":"/en/3.6.x/develop/api/guides/get-started"}]},{"item":"Plugins","pages":[{"title":"Plugins","href":"/en/3.6.x/develop/plugins/getting-started/getting-started-dify-plugin"}]}],"pages":[{"title":"Developer Resources","href":"/en/3.6.x/develop/api/guides/get-started"}]}]},{"version":"3.5.x","pages":[{"title":"3.5.x","href":"/en/3.5.x/use/monitor/logs"}]},{"version":"3.4.x","pages":[{"title":"3.4.x","href":"/en/3.4.x/use/monitor/logs"}]},{"version":"3.3.x","pages":[{"title":"3.3.x","href":"/en/3.3.x/use/monitor/logs"}]},{"version":"3.2.x","pages":[{"title":"3.2.x","href":"/en/3.2.x/use/monitor/logs"}]},{"version":"3.1.x","pages":[{"title":"3.1.x","href":"/en/3.1.x/use/monitor/logs"}]},{"version":"3.0.x","pages":[{"title":"3.0.x","href":"/en/3.0.x/use/monitor/logs"}]},{"version":"2.8.x","pages":[{"title":"2.8.x","href":"/en/2.8.x/use/monitor/logs"}]},{"version":"2.7.x","pages":[{"title":"2.7.x","href":"/en/2.7.x/use/monitor/logs"}]},{"version":"2.6.x","pages":[{"title":"2.6.x","href":"/en/2.6.x/use/monitor/logs"}]},{"version":"2.5.x","pages":[{"title":"2.5.x","href":"/en/2.5.x/use/monitor/logs"}]}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/3.6.x/use/monitor/logs"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/3.6.x/use/monitor/logs"}]}]},"basePath":"","title":"Logs - Dify Enterprise Docs","deploymentId":"dpl_2pTxFtyBudBMYZiCw1MyvoA1wxpd","buildId":"dpl_2pTxFtyBudBMYZiCw1MyvoA1wxpd","dynamics":[],"chunks":[]}