History log of /freebsd-10.0-release/usr.bin/logger/logger.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 241736 19-Oct-2012 ed

Add missing const keywords.


# 227170 06-Nov-2011 ed

Add missing static keywords to logger(1)


# 220448 08-Apr-2011 edwin

When specifying the -t option (send tag in front of message), this tag
should also be forwarded to the remote logging host, not only when the
logging is done locally.

PR: bin/154324
Submitted by: Callum Gibson <callumgibson@optusnet.com.au>
MFC after: 1 week


# 216370 11-Dec-2010 joel

Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with: imp, rwatson


# 198702 30-Oct-2009 mckusick

When reading input from a file or device (via -f option) set the
input to be in non-buffering mode so that input lines are logged
as they occur rather than being saved up until a buffer's worth of
input has been logged.


# 175993 05-Feb-2008 obrien

Minor style(9) nit.


# 169344 07-May-2007 dwmalone

Make logmsg take const char * arguments.
Set WARNS to 6.


# 160917 02-Aug-2006 bms

Add a new command-line option, -P, which allows the user to specify
an arbitrary port to which syslog messages are to be sent.

PR: bin/54026
Submitted by: Oliver Fromme
MFC after: 10 days


# 146756 29-May-2005 charnier

Reduce compiler warning: variable might be used uninitialized, by giving
an initial value.


# 102944 04-Sep-2002 dwmalone

ANSIify function definitions.
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.

Reviewed by: md5


# 99112 30-Jun-2002 obrien

Consistently use FBSDID


# 93525 01-Apr-2002 dwmalone

1) Use FBSDID for vendor string.
2) Change an int for a size_t, as that's what it is mainly used for.
3) Add some braces to keep gcc happy.


# 92920 21-Mar-2002 imp

remove __P


# 91433 27-Feb-2002 fenner

Improve error reporting - report error message when there is one, or
report a short read if that's what we're reporting.


# 83150 06-Sep-2001 ru

The default for -p was ``kern.notice'' in the -h case.
Make it ``user.notice'', as per manpage.

(The syslog(3) function defaults to LOG_USER facility
if none is specified, but we don't use syslog() in the
-h case.)

PR: docs/30374
Noticed by: SUGIMURA Takashi <sugimura@jp.FreeBSD.org>


# 70100 16-Dec-2000 ume

IPv6 support for logger.

Reviewed by: freebsd-current


# 63402 18-Jul-2000 dwmalone

Allow logger to send messages directly to a remote syslog. (This
only does IPv4 as our syslogd only does IPv4. I dunno if the KAME
people have any plans for syslogd).

PR: 19821
Submitted by: Nick Hilliard <nick@iol.ie>
Reviewed by: sheldonh


# 50477 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 27604 22-Jul-1997 charnier

Use err(3).


# 24360 29-Mar-1997 imp

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


# 19075 21-Oct-1996 phk

unset TZ from the environment so the timestamp gets the system default,
which is what syslogd presumably uses too. Notice that the "protocol"
is bogus in not defining the timezone. "protocol" because it hardly
deserves the name :-)

closes bin/1739

Reported by: Stefan Zehl <sec@wg.camelot.de>


# 1591 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1590,
which included commits to RCS files with non-trunk default branches.


# 1590 27-May-1994 rgrimes

BSD 4.4 Lite Usr.bin Sources