History log of /openbsd-src/usr.sbin/syslogc/syslogc.c (Results 1 – 19 of 19)
Revision Date Author Comments
# 10a7b758 15-Nov-2021 millert <millert@openbsd.org>

No need to declare optind, optarg or opterr; unistd.h does this for us.
From Jan Stary. OK deraadt@


# a3cebea4 13-Oct-2015 deraadt <deraadt@openbsd.org>

After the socket is open, the remainder is just io operations.
Use pledge "stdio".


# b9a887b6 26-Nov-2014 millert <millert@openbsd.org>

Prefer setvbuf() to setlinebuf() for portability; ok deraadt@


# 2cb6e4c6 12-Jul-2011 sthen <sthen@openbsd.org>

Allow syslogc -n XX to display less than the whole file, and -n XX -f to
display more/less than the default of 10. ok mpf@ jmc@


# 60916090 04-Jul-2011 mpf <mpf@openbsd.org>

Make stdout line buffered.
# syslogc -f foobuf | grep bar
is now usable.
OK mikeb, djm, markus


# 85b719f4 10-Sep-2008 sobrado <sobrado@openbsd.org>

sync synopsis and usage; documentation tweaks.

ok jmc@


# ea5a106f 10-Jan-2007 jmc <jmc@openbsd.org>

sync usage() somewhat;


# c5dd883e 03-Jan-2007 mpf <mpf@openbsd.org>

Support for continuous reading of syslog memory buffers.
Works like ``tail -f'' on a log file.
OK markus@, djm@


# 8df5ec29 28-Sep-2005 stevesk <stevesk@openbsd.org>

err()->errx() and KNF; ok djm@


# 43dbcf89 19-Sep-2005 djm <djm@openbsd.org>

zap unused header and #defines, mostly from stevesk@


# 21b9c755 03-Apr-2005 djm <djm@openbsd.org>

kill redundant warning - getopt does it for us; from andrushock AT korovino.net


# c32bf390 14-Sep-2004 deraadt <deraadt@openbsd.org>

remove unused variables


# e562b812 15-Jul-2004 mpf <mpf@openbsd.org>

add -o to usage() ok markus@


# 5b27f617 25-Jun-2004 djm <djm@openbsd.org>

support new syslogd control protocol and add new -o option to detect memory
buffer overflow; idea & ok markus@

NB if you are using memory buffered logging make sure you update both syslogd
and syslo

support new syslogd control protocol and add new -o option to detect memory
buffer overflow; idea & ok markus@

NB if you are using memory buffered logging make sure you update both syslogd
and syslogc _and_ restart syslogd because the protocol has changed

show more ...


# 1bde5b89 13-Apr-2004 djm <djm@openbsd.org>

Sort getopt list and tidy error checks. From andrushock@korovino.net;
ok deraadt@


# 5613d0be 15-Mar-2004 djm <djm@openbsd.org>

zero struct sockaddr_un before use, from andrushock AT korovino.net; ok deraadt@


# b29dff6c 12-Jan-2004 djm <djm@openbsd.org>

remove redundant string termination; report from nimadeus@pandora.be


# 3828a0ea 05-Jan-2004 deraadt <deraadt@openbsd.org>

excessively detailed error messages are not unix


# ffb9ed4e 04-Jan-2004 djm <djm@openbsd.org>

syslogc - client to read memory buffered logs from syslogd;
manpage nits jmc@, fixes jose@; ok deraadt@