summaryrefslogtreecommitdiff
path: root/usr.sbin/syslogd/syslogd.8
AgeCommit message (Collapse)Author
2022-11-08syslogd: make -d accept an optional argumentuwe
Make it possible to specify the debug message categories with an optional numeric argument. You'll have to read the fine source to find out what they are. The number can be specified as the usual decimal, hex (0x), or octal (0) literal with an optional ~negation. Since syslogd uses getopt(3), not getopt_long(3), do a bit of gymnastics so that both -d42 and -d 42 are accepted (I'm not inventing long names for all the existing options just to support an optional argument to -d). -d without an argument still uses the old D_DEFAULT selection just in case someone really relies on that. You can disable all debug messages with -d0 but still get syslogd not daemonized.
2018-11-05Sort options.wiz
2018-11-04syslogd: allow the reporting of buffer overflows to be disabled.roy
This generally isn't a good thing, nothing should be discard silently. However, for systems that don't want big syslogd buffers or are too slow to log effectively this reporting can now be disabled.
2018-11-04syslogd: allow the receiving buffer size to be set.roy
This allows the admin to try and avoid buffer overflow when a log of logging appears in bursts.
2017-07-03Remove workaround for ancient HTML generation code.wiz
2013-01-14fix thinkodholland
2012-10-30Remove trailing whitespace.wiz
2012-10-30Note enchancements that appeared in NetBSD 6.0.rkujawa
2012-04-08Remove unnecessary Bk/Ek pairs from SYNOPSIS.wiz
No effective change except where I used the opportunity to sort options and/or option descriptions.
2012-03-28add aliases for the protocol formatchristos
2009-10-15reinstate a sentence partly removed in v1.43 regarding the defaultplunky
facility/priority for local kernel messages
2009-07-16draft-ietf-syslog-protocol-23 -> RFC 5424yamt
2009-02-01Bump date for previous.wiz
2009-02-01note some options' optarg in DESCRIPTION as well.yamt
2009-02-01make -o option consistent with others.yamt
2008-11-07Remove trailing whitespace.minskim
2008-10-31Import syslogd SoC project by Martin Schuette:christos
- new syslog protocol api syslogp(3) that supports structured data and draft-rfc timestamps - reliable tcp connections with queueing - encrypted connections
2006-09-15PR/14563: Brian A. Seklecki: syslogd binds udp sockets on all interfaceschristos
Add -b option to pass a bind address.
2006-04-23Add -T to SYNOPSIS.wiz
2006-04-23Fix typo.wiz
2006-04-19PR 32579: Add a -T flag to syslogd, which causes it to use local time forpavel
messages received from the network. Useful for collecting logs from devices which do not have correct time. Add it to usage. Document it, also document that syslogd adds a timestamp with the local time if it does not recognize the original timestamp field. Bump date. Approved by wrstuden@.
2006-01-20Add reference to RFC 3164. From Pavel Cahyna in PR 32578.wiz
2004-11-19Fix typo, and make HTML-save.wiz
2004-11-19Merge the thorpej-syslogd-hack-branch down to the trunk. Enhancementsthorpej
include: - Extend the syntax of syslog.conf to allow selections of log destinations by comma-separated lists of program name (including kernel-generated messages) and originating host name. - Ability to pipe selected messages through arbitrary filter commands. - Ability to specify priority comparison operations. - Improvements to domain name handling. - Conversion to use kqueue for communication and signal events, eliminating all unsafe signal handlers. - Allow spaces as well as tabs in syslog.conf. - Log kernel printfs at LOG_NOTICE instad of LOG_CRIT. - Ability to log facility/priority with a log message. - Reliability improvements.
2004-10-10Add -S to SYNOPSIS; sort descriptions; bump date for new -S flag.wiz
2004-10-08Don't fsync() kernel messages by default -- enable it with the "-S" flag.mycroft
This avoids some seriously gratuitous disk hosage in various cases. XXX It would probably be better to allow this to be specified in the config file somehow.
2003-10-17Implement -r, which prevents syslogd from compressing multiple messages withlukem
the same string into "last message repeated N times", and instead forces syslogd to write out every message. Based on '-c' in FreeBSD's syslogd, although a different option letter was chosen because their syslogd requires '-c -c' to get this functionality, and we don't have the support for logging to pipes which is what FreeBSD's syslogd with a single '-c' is related to.
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22366, verified by myself.
2003-05-14setup -> set up.wiz
2003-05-06New sentence, new line.wiz
2003-05-02Add an explanation of the log format. From PR#14290.gmcgarry
2003-02-25.Nm does not need a dummy argument ("") before punctuation orwiz
for correct formatting of the SYNOPSIS any longer.
2002-05-25Sort options in man page, don't mention non-existing '-S' option,wiz
use some more markup and improve existing one. Sync usage() with man page.
2002-05-25Grammar fixes and a markup fix.wiz
2002-02-02Drop a .Pp, sort SEE ALSO.wiz
2002-01-19Whitespace nits.wiz
2001-07-16- No more lost error messages during syslogd startup, they now all appear onmanu
stdout before syslogd becomes a daemon. - Flags for setuid/setgid/chroot syslogd after initialization is completed - Warning instead of silent ignoring for malformed lines (with spaces instead of tags) Approved by Christos
2001-07-01-DLIBWRAP will enable libwrap-based filtering on UDP socket messages.itojun
PR 13348
2001-06-08new `-n' switch to avoid looking up hostnames.mrg
2001-05-03Logical markup. Reported in bin/12816 by Tetsuya Isaki.wiz
2000-07-11Xr newsyslog.ad
2000-06-30Remove caveat about behavior of `syslogd -s' when forwarding rules arejwise
present -- this behavior has been fixed.
2000-06-30Back out and redo previous at Bill Sommerfeld's <sommerfeld@netbsd.org>jwise
request: instead of the -S flag, fix the -s flag to not open a socket if there are no forwarding rules in /etc/syslog.conf The behavior of syslogd when -s is specified and there are forwarding rules should still be made cleaner.
2000-06-301.) bring usage text up to date, and clarify description of `-s' optionjwise
in man page and comments -- for some time it has no longer prevents an inet socket from being opened, just caused it to be ignored 2.) Fix this problem with `-s' -- syslogd always opens an inet socket, even if -s is specified and it has nowhere to send to. This socket is then shutdown(), but there is no way to not have this socket open. Users setting up paranoid installations can now specify `-S' which prevents any non-unix-domain sockets from being opened, even if forwarding is specified in /etc/syslogd.conf. As per the previous fix, this is not made the default for `-s', as it also prevents syslogd from forwarding log messages. 3.) document the above in the man page and usage. Justification: in light of the possibility of future DoS attacks, or the desire to set up a machine which is relatively uninformative in the face of port scans, users may quite legitimately want to control what sockets are open on their machine. Telling such users that they cannot run syslogd is non-ideal.
1999-11-30- Fix location of RCS Id string.ad
- It's now syslogd.pid, not syslog.pid.
1999-09-10s/acknowledgment/acknowledgement/simonb
1999-03-22More and more .Os cleanups. .Os is defined in the tmac.doc-common file,garbled
so we shouldn't override it with versions in the manpages. Many more to come.
1999-03-19/var/run/log.perry
1999-03-15/dev/log moved to /var/run/syslog.socket.is
1999-03-07Clean up SYNOPSIS formatting.mycroft