Most syslog messages have a line feed at the end, but some don't. This patch
removes trailing spaces from all syslog messages that have one and always adds
a line feed in the logging back end.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
- Add proto.{h,c} for parsing of syslog message
- Also parse time stamp in addition to priority
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>