How to oberseve execution logs of plugin in plugin daemon? #32744
Replies: 1 comment
-
|
Hi! Here's what I found about observing plugin execution logs in the plugin daemon: 1. How to enable/increase logging: Set these environment variables on the Dify API service:
2. Where logs are written:
3. Exception/stack trace logging: Plugin exceptions are logged with full stack traces using
These would need custom implementation if required. Important note: This logging is configured at the Dify application level (API service), not the plugin daemon itself. The plugin daemon operates as a separate remote HTTP service. If you're looking to see logs from within the plugin daemon process itself, you may need to check the plugin daemon's own configuration or repository. See the LoggingConfig in feature/init.py for all available logging options. To reply, just mention @dosu. Docs are dead. Just use Dosu. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
Hi,
It looks like plugin-daemon isn’t printing the plugin’s execution logs. As a result, when a plugin throws an exception, it’s difficult to identify the root cause because we can’t find the corresponding runtime logs.
Could you please advise:
2. Additional context or comments
No response
Beta Was this translation helpful? Give feedback.
All reactions