Repository navigation
Feature request: provide a configurable entry for enableLogs (loader plugin logs) — currently hardcoded to false with no way to enable #4994
macrowanwj-droid
started this conversation in
General
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.
Body(要点):
Summary:自托管部署需要插件生命周期日志(apply/reload/unload)用于排查挂载事故;enableLogs 存在但无配置入口
Current behavior(源码实证):① cordis-plugin-include L196 默认 false 且无入口 ② cordis-plugin-loader L173 showLog() 消费点 ③ host mountRootInclude() 硬编码 {path, patches} 不传 enableLogs ④ CLI 无 flag / patch.yml 无入口
Proposed solutions:A. env 开关 DSH_LOADER_LOGS=1(推荐,最小侵入)/ B. 改默认 true(全局)/ C. profile patch.yml 支持(per-profile)
Reference:三个源码位置 L501/L196/L173
All reactions