captainslog
captainslog copied to clipboard
problem: no test for tags over 32 chars
Rsyslog, when parsing syslog messages with tags longer than 32 characters, truncates the TAG field to 32 characters. Captainslog does not have a maximum length on TAG size other than the max length of the message. This behavior should probably be changed to be in line with how rsyslog does things.
For now, this PR adds a test that documents the current behavior to make it more explicit.