SECUREXSECURITY ENGINEERINGNVR 文档

日志 API

日志 API 用于读取 Securex NVR、插件或相关服务日志。生产界面应支持级别、组件和时间过滤,同时避免泄露密码/API Key。

核心说明

本页内容按该功能本身整理,不再使用通用占位说明。以下项目均与当前主题直接相关。

过滤

优先按组件和时间拉取,避免一次加载完整大日志。

敏感信息

RTSP URL、MQTT 密码、API Key 和 token 在展示/下载前应脱敏。

实时日志

使用流式接口时要允许暂停/断开,避免浏览器长时间占用。

诊断

错误行上下文通常比单独一行更有价值,可保留前后若干行。

验证与排查

  • 修改或执行前记录当前版本/配置,以便回退。
  • 完成后同时检查 UI 状态和后端日志,不只看一个成功提示。
  • 如果问题只在单个摄像头/插件出现,先做最小范围对比,避免全局改动。

Logs API

Log APIs expose NVR/plugin/service logs. Production UIs should filter by component/level/time and redact secrets.

Core behavior

This page is topic-specific rather than a generic placeholder.

Filtering

Filter by component/time instead of loading huge logs.

Secrets

Redact RTSP credentials, MQTT passwords, API keys and tokens.

Streaming

Allow pause/disconnect for live logs.

Diagnostics

Include nearby context around errors.

Verification and troubleshooting

  • Record the current version/config before changes so rollback is possible.
  • Verify both UI state and backend logs after the change.
  • If only one camera/plugin is affected, isolate it before making global changes.

API de registros

La API de logs expone registros de NVR/plugins/servicios; debe filtrar y ocultar secretos.

Comportamiento

Esta página contiene contenido específico del tema, no un texto genérico.

Filtros

Filtre por componente/tiempo.

Secretos

Oculte credenciales y tokens.

Streaming

Permita pausar/desconectar.

Diagnóstico

Incluya contexto alrededor del error.

Verificación y diagnóstico

  • Registre versión/configuración antes de cambiar para poder revertir.
  • Compruebe UI y logs del backend después.
  • Si afecta a una sola cámara/plugin, aíslelo antes de cambios globales.
输入关键词开始搜索