Add incidents log and viewer

This commit is contained in:
2026-02-08 01:33:14 +03:00
parent 4eb202c2ed
commit 4e79c401a9
8 changed files with 804 additions and 1 deletions

View File

@@ -36,6 +36,13 @@ This project uses `config.yaml`. Start from `config.example.yaml`.
- `rotate_when` (string): Rotation schedule for `TimedRotatingFileHandler`. Example `W0` for weekly on Monday.
- `backup_count` (int): How many rotated files to keep.
## incidents
- `enabled` (bool): Enable incidents logging.
- `path` (string): Log file path. Default `/var/server-bot/incidents.log`.
- `rotate_when` (string): Rotation schedule for `TimedRotatingFileHandler`. Example `W0` for weekly on Monday.
- `backup_count` (int): How many rotated files to keep.
## arcane
- `base_url` (string): Arcane API base url.