- Introduced a new syslog configuration section in pump.example.conf, allowing users to specify syslog settings including transport, network address, log level, tag, and fragmentation behavior.
- Updated the SyslogConf struct to include a new field for syslog_fragmentation, which controls whether logs are serialized to JSON to prevent fragmentation.
- Enhanced the SyslogPump implementation to handle both legacy and new logging formats based on the syslog_fragmentation setting.
- Added unit tests for SyslogPump to verify initialization and behavior with fragmentation settings.
This update improves the flexibility and reliability of syslog logging in Tyk Pump.