add rotation
This commit is contained in:
@@ -47,6 +47,13 @@ For UDP `514`, the script starts only the listener command with `sudo`:
|
||||
FGAI_SYSLOG_PORT=514 ./start.sh
|
||||
```
|
||||
|
||||
The syslog receiver rotates the active JSONL input at 25 MB by default. Rotated
|
||||
files are gzip-compressed and 14 archives are retained. Override this when needed:
|
||||
|
||||
```bash
|
||||
FGAI_LOG_ROTATE_BYTES=$((100 * 1024 * 1024)) FGAI_LOG_ROTATE_COUNT=30 ./start.sh restart
|
||||
```
|
||||
|
||||
Analyze local logs:
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user