summaryrefslogtreecommitdiff
path: root/syslogd/proto.c
AgeCommit message (Collapse)Author
2018-08-23Normalize syslog message line endingsDavid Oberhollenzer
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>
2018-08-20usyslogd: minor header restructuring/file structure cleanupDavid Oberhollenzer
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-06-17usyslogd: store logs in subdirectory based on service identifierDavid Oberhollenzer
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-06-11[usyslogd] split off syslog parsingDavid Oberhollenzer
- 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>