summaryrefslogtreecommitdiff
path: root/usr.bin/logger
Commit message (Collapse)AuthorAgeFilesLines
* When specifying the -t option (send tag in front of message), this tagEdwin Groothuis2011-04-082-9/+15
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=220448
* Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl2010-12-112-8/+0
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=216370
* Build usr.bin/ with WARNS=6 by default.Ed Schouten2010-01-021-1/+0
| | | | | | | Also add some missing $FreeBSD$ to keep svn happy. Notes: svn path=/head/; revision=201386
* When reading input from a file or device (via -f option) set theKirk McKusick2009-10-301-0/+1
| | | | | | | | | 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. Notes: svn path=/head/; revision=198702
* Minor style(9) nit.David E. O'Brien2008-02-051-1/+1
| | | | Notes: svn path=/head/; revision=175993
* Make logmsg take const char * arguments.David Malone2007-05-072-3/+5
| | | | | | | Set WARNS to 6. Notes: svn path=/head/; revision=169344
* Markup fixes.Ruslan Ermilov2006-09-291-1/+2
| | | | Notes: svn path=/head/; revision=162792
* Update document date.Bruce M Simpson2006-08-031-1/+1
| | | | | | | Noticed by: ru Notes: svn path=/head/; revision=160957
* Add a new command-line option, -P, which allows the user to specifyBruce M Simpson2006-08-022-11/+27
| | | | | | | | | | | an arbitrary port to which syslog messages are to be sent. PR: bin/54026 Submitted by: Oliver Fromme MFC after: 10 days Notes: svn path=/head/; revision=160917
* Obey MK_INET6_SUPPORT.Yaroslav Tykhiy2006-07-271-1/+6
| | | | Notes: svn path=/head/; revision=160750
* Reduce compiler warning: variable might be used uninitialized, by givingPhilippe Charnier2005-05-291-3/+5
| | | | | | | an initial value. Notes: svn path=/head/; revision=146756
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-1/+1
| | | | Notes: svn path=/head/; revision=140368
* Deal with double whitespace.Ruslan Ermilov2004-07-031-2/+2
| | | | Notes: svn path=/head/; revision=131507
* Clarify the describtion of the -A switchChristian Brueffer2003-05-211-1/+3
| | | | | | | | | | PR: 51187 Submitted by: Jeff Ito <jeffi@rcn.com> Approved by: re (jhb) MFC after: 3 days Notes: svn path=/head/; revision=115208
* ANSIify function definitions.David Malone2002-09-041-11/+6
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=102944
* Consistently use FBSDIDDavid E. O'Brien2002-06-301-1/+0
| | | | Notes: svn path=/head/; revision=99112
* .Nm is not required at the begining of this sentence.Philippe Charnier2002-04-201-4/+3
| | | | Notes: svn path=/head/; revision=95163
* Use `The .Nm utility'Philippe Charnier2002-04-201-2/+3
| | | | Notes: svn path=/head/; revision=95124
* 1) Use FBSDID for vendor string.David Malone2002-04-011-4/+6
| | | | | | | | 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. Notes: svn path=/head/; revision=93525
* remove __PWarner Losh2002-03-221-4/+4
| | | | Notes: svn path=/head/; revision=92920
* Improve error reporting - report error message when there is one, orBill Fenner2002-02-271-1/+4
| | | | | | | report a short read if that's what we're reporting. Notes: svn path=/head/; revision=91433
* The default for -p was ``kern.notice'' in the -h case.Ruslan Ermilov2001-09-061-1/+1
| | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=83150
* Use CFLAGS, not COPTS, in the Makefile. bsd.prog.mk conveniently addsDima Dorfman2001-09-051-1/+1
| | | | | | | | | | | | COPTS towards the end of final CFLAGS so that it can be used to override Makefile and other defaults. Using it in Makefiles risks having options set using it clobbered when somebody uses it on the command line. Approved by: bde Notes: svn path=/head/; revision=83112
* mdoc(7) police: utilize the new .Ex macro.Ruslan Ermilov2001-08-151-3/+1
| | | | Notes: svn path=/head/; revision=81687
* Remove whitespace at EOL.Dima Dorfman2001-07-151-5/+5
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79535
* mdoc(7) police: document IPv6 options in the SYNOPSIS.Ruslan Ermilov2000-12-181-1/+1
| | | | Notes: svn path=/head/; revision=70145
* IPv6 support for logger.Hajimu UMEMOTO2000-12-163-25/+82
| | | | | | | Reviewed by: freebsd-current Notes: svn path=/head/; revision=70100
* Allow logger to send messages directly to a remote syslog. (ThisDavid Malone2000-07-182-8/+72
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=63402
* Add DIAGNOSTICS section namePhilippe Charnier2000-03-261-4/+3
| | | | | | | Options: -> The following options are available: Notes: svn path=/head/; revision=58610
* $Id$ -> $FreeBSD$Peter Wemm1999-08-282-2/+2
| | | | Notes: svn path=/head/; revision=50477
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-121-0/+1
| | | | | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48792
* Use err(3).Philippe Charnier1997-07-222-26/+21
| | | | Notes: svn path=/head/; revision=27604
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-1/+1
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24360
* unset TZ from the environment so the timestamp gets the system default,Poul-Henning Kamp1996-10-211-0/+1
| | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=19075
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-273-0/+297
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590