freebsd-dev/usr.sbin/newsyslog
Ed Schouten 30dd2da2a3 Use the FQDN in the newsyslog log message when RFC 5424 is enabled.
The RFC 5424 spec mentions that logging FQDNs over short hostnames is
preferred. Alter this code, so that the hostname doesn't get truncated
on startup. Keep track of the length of the short hostname, so that
fprintf() can do the truncation where necessary.

MFC after:	1 month
2018-07-08 10:08:24 +00:00
..
tests
extern.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
Makefile
Makefile.depend
newsyslog.8 newsyslog: fix typeo for 'zstd' 2018-02-03 20:53:21 +00:00
newsyslog.c Use the FQDN in the newsyslog log message when RFC 5424 is enabled. 2018-07-08 10:08:24 +00:00
newsyslog.conf.5 Sort the list of flags in newsyslog.conf entries. 2018-01-16 00:47:53 +00:00
pathnames.h
ptimes.c