LingLambda/dsh-logger-panel ↗★ 1
dsh-logger-panel
DSH 运行时日志面板,在设置中提供实时 SSE 日志视图,并支持按日期/大小轮转写入 JSONL 文件。
AI 分析
核心用途是监控和记录 DSH 系统的运行状态。适合在开发插件、调试工具调用或排查系统异常时,需要实时查看和持久化保存底层日志的开发者。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:LingLambda/dsh-logger-panel說明文件
閱讀完整 README ↗Configuration
The plugin row is inserted as logger-panel. Override its config in your profile patch:
- id: logger-panel
name: dsh-logger-panel
config:
root: /var/log/dsh # default: $DSH_HOME/logs/dsh-logger-panel
maxRecords: 2000 # records retained for a connecting browser
maxRecordChars: 20000 # max chars kept from one formatted message
batchMs: 100 # SSE batch interval
maxFileBytes: 5242880 # bytes per JSONL file before rotation
maxAgeDays: 30 # retention; 0 disables deletion
maxPendingRecords: 1000 # records accepted ahead of disk writes
historyPageSize: 500 # records returned by one history page