mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-05-30 04:40:18 +08:00
feat(hermes): add logging settings
This commit is contained in:
@@ -602,6 +602,22 @@ export default {
|
||||
hermesCronConfigWrapResponse: _('结果回传时附加任务名和系统提示', 'Add job name and system notice when delivering results', '結果回傳時附加任務名稱和系統提示'),
|
||||
hermesCronConfigMaxParallelJobs: _('每轮最多并发任务数', 'Max parallel jobs per tick', '每輪最多並發任務數'),
|
||||
hermesCronConfigFootnote: _('这里写入 cron.wrap_response 与 cron.max_parallel_jobs。并发数设为 0 表示不额外限制,由 Hermes 按上游默认语义写入 null;其他 cron 高级字段会保留在 raw YAML 中。', 'This writes cron.wrap_response and cron.max_parallel_jobs. Set parallel jobs to 0 for no extra cap; Hermes writes null to match upstream semantics. Other advanced cron fields stay in raw YAML.', '這裡寫入 cron.wrap_response 與 cron.max_parallel_jobs。並發數設為 0 表示不額外限制,由 Hermes 依上游預設語義寫入 null;其他 cron 進階欄位會保留在 raw YAML 中。'),
|
||||
hermesLoggingConfigTitle: _('运行日志', 'Runtime logs', '執行日誌'),
|
||||
hermesLoggingConfigDesc: _('控制 Hermes 日志级别、单文件轮转大小、保留备份数量和 Gateway 内存采样,便于长跑排障并避免日志无限膨胀。', 'Control Hermes log level, per-file rotation size, retained backups, and Gateway memory sampling for easier long-run diagnosis without unbounded logs.', '控制 Hermes 日誌級別、單檔輪轉大小、保留備份數量和 Gateway 記憶體取樣,便於長跑排障並避免日誌無限膨脹。'),
|
||||
hermesLoggingConfigStatusReady: _('结构化配置', 'structured settings', '結構化設定'),
|
||||
hermesLoggingConfigSave: _('保存日志配置', 'Save log settings', '儲存日誌設定'),
|
||||
hermesLoggingConfigSaveSuccess: _('运行日志配置已保存,建议重启 Hermes Gateway 生效', 'Runtime log settings saved. Restart Hermes Gateway to take effect.', '執行日誌設定已儲存,建議重啟 Hermes Gateway 生效'),
|
||||
hermesLoggingConfigLoadFailed: _('加载运行日志配置失败', 'Load runtime log settings failed', '載入執行日誌設定失敗'),
|
||||
hermesLoggingConfigSaveFailed: _('保存运行日志配置失败', 'Save runtime log settings failed', '儲存執行日誌設定失敗'),
|
||||
hermesLoggingConfigLevel: _('日志级别', 'Log level', '日誌級別'),
|
||||
hermesLoggingConfigLevel_DEBUG: _('DEBUG(最详细)', 'DEBUG (most detailed)', 'DEBUG(最詳細)'),
|
||||
hermesLoggingConfigLevel_INFO: _('INFO(推荐)', 'INFO (recommended)', 'INFO(建議)'),
|
||||
hermesLoggingConfigLevel_WARNING: _('WARNING(仅警告和错误)', 'WARNING (warnings and errors only)', 'WARNING(僅警告和錯誤)'),
|
||||
hermesLoggingConfigMaxSizeMb: _('单个日志文件上限 MB', 'Max size per log file MB', '單一日誌檔上限 MB'),
|
||||
hermesLoggingConfigBackupCount: _('保留备份文件数', 'Retained backup files', '保留備份檔案數'),
|
||||
hermesLoggingConfigMemoryMonitorEnabled: _('启用 Gateway 内存采样', 'Enable Gateway memory sampling', '啟用 Gateway 記憶體取樣'),
|
||||
hermesLoggingConfigMemoryMonitorIntervalSeconds: _('内存采样间隔秒数', 'Memory sampling interval seconds', '記憶體取樣間隔秒數'),
|
||||
hermesLoggingConfigFootnote: _('这里写入 logging.* 与 logging.memory_monitor.*;其他 logging 高级字段会保留在 raw YAML 中。日志级别越低越详细,可能增加磁盘占用。', 'This writes logging.* and logging.memory_monitor.*. Other advanced logging fields stay in raw YAML. Lower log levels are more detailed and may increase disk usage.', '這裡寫入 logging.* 與 logging.memory_monitor.*;其他 logging 進階欄位會保留在 raw YAML 中。日誌級別越低越詳細,可能增加磁碟占用。'),
|
||||
hermesApprovalsConfigTitle: _('审批安全', 'Approval safety', '審批安全'),
|
||||
hermesApprovalsConfigDesc: _('控制危险命令、Cron 任务和破坏性 slash 命令的审批策略,避免无人值守长跑任务误放行高风险操作。', 'Control approval policy for dangerous commands, cron jobs, and destructive slash commands so unattended long runs do not approve risky operations by mistake.', '控制危險命令、Cron 任務和破壞性 slash 命令的審批策略,避免無人值守長跑任務誤放行高風險操作。'),
|
||||
hermesApprovalsConfigStatusReady: _('结构化配置', 'structured settings', '結構化設定'),
|
||||
|
||||
Reference in New Issue
Block a user