summaryrefslogtreecommitdiff
path: root/usr.sbin/syslogd
Commit message (Collapse)AuthorAgeFilesLines
* MFC: -u, -v functionality for syslogd.Joseph Koshy1998-08-063-19/+149
| | | | | | | | | | { rev 1.16 src/usr.sbin/syslogd/syslogd.8 rev 1.40 src/usr.sbin/syslogd/syslogd.c rev 1.39 src/usr.sbin/syslogd/syslogd.c rev 1.11 src/usr.sbin/syslogd/syslog.conf.5 } Notes: svn path=/stable/2.2/; revision=38134
* MFC: finish usr.sbinJordan K. Hubbard1998-07-183-85/+151
| | | | Notes: svn path=/stable/2.2/; revision=37738
* MFC: make boot message buffer size configurable.Jordan K. Hubbard1998-06-251-4/+3
| | | | | | | PR: 6962 Notes: svn path=/stable/2.2/; revision=37148
* MFC: update docs, cosmetic.Jordan K. Hubbard1998-03-093-40/+74
| | | | Notes: svn path=/stable/2.2/; revision=34422
* MFC: Get sigprocmask args the right way round.James Raynard1998-03-011-5/+5
| | | | Notes: svn path=/stable/2.2/; revision=33944
* MFC: Cosmetic in usage string.Philippe Charnier1997-11-073-21/+23
| | | | Notes: svn path=/stable/2.2/; revision=31012
* MFC: Use snprintf() instead of sprintf() most of the time.Brian Somers1997-09-192-13/+13
| | | | | | | | | Obtained from: OpenBSD Make usage() consistent with man page. Notes: svn path=/stable/2.2/; revision=29624
* MFC: doc update from rev 1.7Joerg Wunsch1997-09-141-3/+8
| | | | Notes: svn path=/stable/2.2/; revision=29377
* MFC: rev 1.11/1.25 resp., implement the -a (allowed peer) optionJoerg Wunsch1997-08-172-10/+284
| | | | Notes: svn path=/stable/2.2/; revision=28301
* Merge from head - secure mode fixesPaul Traina1997-04-262-23/+16
| | | | Notes: svn path=/stable/2.2/; revision=25156
* YAMFC (rev 1.21)Joerg Wunsch1997-03-141-1/+4
| | | | Notes: svn path=/stable/2.2/; revision=23869
* YAMFC:Mike Pritchard1997-03-062-5/+5
| | | | | | | | - sort xrefs - typo fixes. Notes: svn path=/stable/2.2/; revision=23437
* YAMFC (rev 1.19, and 1.4 resp.: allow piping to subprocess)Joerg Wunsch1997-03-022-8/+288
| | | | Notes: svn path=/stable/2.2/; revision=23277
* Merge r1.17 from currentJordan K. Hubbard1997-01-031-1/+2
| | | | Notes: svn path=/stable/2.2/; revision=21249
* YAMFCJoerg Wunsch1996-12-141-5/+3
| | | | Notes: svn path=/stable/2.2/; revision=20437
* YAMFCPoul-Henning Kamp1996-11-281-67/+90
| | | | Notes: svn path=/stable/2.2/; revision=19998
* Back out the entire change from rev 1.11 of syslogd.c. It was bogus.Joerg Wunsch1996-10-282-53/+8
| | | | | | | Correct the man page to reflect the new reality. Notes: svn path=/head/; revision=19224
* Reviewed by: various (mailing list feedback)Julian Elischer1996-10-232-7/+57
| | | | | | | | | | | Submitted by: whistle communications move the socket from /dev to /var/run by default TRANSITIONALLY make syslog add a symlink.. I PROMISE I'll remove that as soon as I have the makefiles etc fixed as well. Notes: svn path=/head/; revision=19137
* syslogd has always bugged me with it's async startup at boot time.Peter Wemm1996-10-051-6/+71
| | | | | | | | | | | | | | | | | | | | | | For me, more often than not, the backgrounded syslogd daemon is not yet ready to process log messages before other things (such as named) want to log a heap of them. It seems that it's the O_SYNC writes of the stuff coming in from /dev/klog that's the slowdown. Anyway, instead of using the libc daemon, roll a modified version. This one has a timeout. The child will wait for either the timeout to expire or the child process to signal it to let it know that it's "ready" and the /dev/log socket is set up and active, so it's safe to continue the boot. It adds a small fraction of a second pause to the boot time, but on the other hand the overall boot time is *quicker* since the disk is not being thrashed while the log messages are getting written out synchronously one by one while other daemons are loading in parallel. The timeout is in case the child segfaults or something before becoming fully operational. Notes: svn path=/head/; revision=18710
* Add info field.Paul Traina1996-09-271-1/+1
| | | | | | | Closes pr docs/1679. Notes: svn path=/head/; revision=18523
* Bring in some fixes from NetBSD and re-hack our syslogd to be option-compatiblePaul Traina1996-07-222-19/+28
| | | | | | | | | | | | with theirs (change the -I option to -s (but leave -I in for backwards compat.) Also eliminate an make sane some magic numbers, and fix a small bug where we'd send to an unopened socket. Reviewed by: wollman Obtained from: NetBSD Notes: svn path=/head/; revision=17245
* Correct synopsis (-d, -I options were missing because -mdoc mistookGarrett Wollman1996-05-201-2/+2
| | | | | | | the dI in `.Op Fl dI' for the name of an internal mdoc command). Notes: svn path=/head/; revision=15829
* With the recent 'make install' change in the kernel build makefiles, anPeter Wemm1995-11-141-2/+4
| | | | | | | | | | | | | `interesting' feature of syslogd turned up. It calls getbootfile() for each log entry. Since the kernel makefile now changes kern.bootfile when doing a 'make install', it's quite startling to see the syslog lines change. This change makes it call getbootfile() once at startup and cache it, saving a syscall per loop, and keeping something a little more asthetically pleasing in /var/log/messages... Notes: svn path=/head/; revision=12302
* Add a command-line option `-I' to disable logging from UDP.Garrett Wollman1995-10-122-14/+38
| | | | | | | | | | Document `-d' and `-I'. Add a BUGS section noting that logging from UDP is an unauthenticated remote disk-filling service, and probably should be disabled by default in the absence of some sort of authentication. Notes: svn path=/head/; revision=11448
* Remove unconditional unlink at startup and conditionalised the unlink at exitPaul Richards1995-09-111-3/+5
| | | | | | | | | | | | so that it only unlinks the file if syslogd knows it created it. If the path specified for the socket already exists then syslogd will now exit with an "address already in use" error which is more sensible than blindly unlinking the existing filename. This stops syslogd -d foo/bar from unlinking foo/bar if it's a real file. Notes: svn path=/head/; revision=10674
* Fix up warning about const being lost.Paul Traina1995-08-231-2/+2
| | | | Notes: svn path=/head/; revision=10174
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-1/+1
| | | | Notes: svn path=/head/; revision=8857
* Updates from Peter da Silva to match the recent syslogd changes.Jordan K. Hubbard1995-01-041-3/+34
| | | | | | | Submitted by: pds Notes: svn path=/head/; revision=5367
* Extend syslogd to allow selection of log destinations by program.Garrett Wollman1994-12-291-9/+72
| | | | | | | | | Use getbootfile() to determine the kernel name. Submitted by: Peter da Silva Notes: svn path=/head/; revision=5278
* Get rid of update. Make man page installation work with our schemeGarrett Wollman1994-08-051-2/+2
| | | | | | | (and rename a few in the process). Notes: svn path=/head/; revision=1863
* Converted 'vmunix' to 'kernel'.David Greenman1994-08-051-1/+1
| | | | Notes: svn path=/head/; revision=1856
* BSD 4.4 Lite usr.sbin SourcesRodney W. Grimes1994-05-265-0/+1526
Notes: svn path=/cvs2svn/branches/WIN_TUE_NL/; revision=1553