[bugfix] Trim log entries to 1700 chars before they enter syslog (#493)

* start implementing trimming hook

* add test with very long test

* test syslog w/ unix socket + long (trimmed) msg

* trim long entries with trimhook

* trim to 1700 chars instead
This commit is contained in:
tobi 2022-04-26 17:55:24 +02:00 committed by GitHub
commit 728c4a5e38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 122 additions and 3 deletions

File diff suppressed because one or more lines are too long