gotosocial/internal/log
tobi 728c4a5e38
[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
2022-04-26 17:55:24 +02:00
..
log.go [bugfix] Trim log entries to 1700 chars before they enter syslog (#493) 2022-04-26 17:55:24 +02:00
syslog_test.go [bugfix] Trim log entries to 1700 chars before they enter syslog (#493) 2022-04-26 17:55:24 +02:00
trimhook.go [bugfix] Trim log entries to 1700 chars before they enter syslog (#493) 2022-04-26 17:55:24 +02:00