freebsd-skq/usr.sbin/syslogd
Ed Schouten 531b456983 Still parse messages that don't contain an RFC 3164 timestamp.
The changes made in r326573 required that messages always start with an
RFC 3164 timestamp. It looks like certain devices, but also certain
logging libraries (Python 3's "logging" package) simply don't generate
RFC 3164 formatted messages containing a timestamp.

Make timestamps optional again. When the timestamp is missing, also
assume that the message contains no hostname. The first word of the
message likely already belongs to the message payload.

PR:		229236
Reported by:	Michael Grimm & Marek Zarychta
Reviewed by:	glebius (cursory)
MFC after:	1 week
2018-06-22 20:53:39 +00:00
..
Makefile Fix enough warnings that we can build syslogd on all targets at WARNS=6. 2018-04-07 09:03:51 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
pathnames.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
syslog.conf.5 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
syslogd.8 Use proper alphabetic sorting of options. 2018-04-15 08:44:26 +00:00
syslogd.c Still parse messages that don't contain an RFC 3164 timestamp. 2018-06-22 20:53:39 +00:00