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 Clean up leading whitespace (convert single column spaces to hard tabs) 2017-07-20 00:40:03 +00:00
extern.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
Makefile Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
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