docs: clarify journalctl -f equals tail -f, edge-server hot-reloads config
This commit is contained in:
parent
267ec2c237
commit
69ae1803ad
@ -64,11 +64,15 @@ journalctl -u safesight-edge-server --no-pager \
|
||||
|
||||
### 实时跟踪告警和接口调用
|
||||
|
||||
`journalctl -f` 效果等同于 `tail -f`,可持续滚动查看新日志:
|
||||
|
||||
```bash
|
||||
journalctl -u safesight-edge-server -f \
|
||||
| grep -E "alarm.*trigger|ExternalApi|token|send ok|send failed"
|
||||
```
|
||||
|
||||
> 注意:日志写入 systemd journal,没有独立的应用日志文件。edge-server 支持热加载配置,下发后无需重启即可生效。
|
||||
|
||||
---
|
||||
|
||||
## 第三步:触发告警,观察完整链路
|
||||
|
||||
Loading…
Reference in New Issue
Block a user