History log of /netbsd-src/lib/libc/gen/xsyslog.c (Results 1 – 7 of 7)
Revision Date Author Comments
# 454e43c4 02-Mar-2020 christos <christos@NetBSD.org>

Add sysloglike attr.


# 74707f6a 02-Mar-2020 christos <christos@NetBSD.org>

PR/55041: Fix printf format in syslog(3) error message.


# b24bc655 18-Apr-2017 maya <maya@NetBSD.org>

always initialize iovcnt

from clang static analyzer


# 4b48a30a 22-Mar-2017 kre <kre@NetBSD.org>

Unbreak build, init variable (not a false alarm for this one.)


# 1b119018 22-Mar-2017 roy <roy@NetBSD.org>

openlog(3): add LOG_PTRIM and LOG_NLOG log options.

syslog(3) is the one stop method of logging system events and diagnostics.
When debugging a daemon in the foreground on a terminal, each line is
p

openlog(3): add LOG_PTRIM and LOG_NLOG log options.

syslog(3) is the one stop method of logging system events and diagnostics.
When debugging a daemon in the foreground on a terminal, each line is
prefixed with tag[pid]: which is very repetative and can take up valuable
screen estate.
LOG_PTRIM solves this by removing this prefix from stderr output.

There is also the case where the debugging could involve a dry-run and
syslog(3) calls would pollute the system log with incorrect data.
LOG_NLOG solves this by not writing the the system log, but allowing
LOG_PERROR to operate as before.

Initially discussed here:
https://mail-index.netbsd.org/tech-userlevel/2016/10/06/msg010330.html

show more ...


# 9cc0be31 12-Jan-2017 christos <christos@NetBSD.org>

A little more restructuring so that we don't need mutex stuff in syslog_ss.


# 820e172c 12-Jan-2017 christos <christos@NetBSD.org>

Split syslog.c to:

- syslog_ss.c *_ss api functions (don't use stdio, time)
- syslog.c: *syslog* non _ss api functions (use stdio, time)
- xsyslog.c> common guts.

The motivation for this is not to

Split syslog.c to:

- syslog_ss.c *_ss api functions (don't use stdio, time)
- syslog.c: *syslog* non _ss api functions (use stdio, time)
- xsyslog.c> common guts.

The motivation for this is not to drag in stdio/locale/floating point/time
for every binary, since syslog_ss() is used in __stack_check_fail() for SSP.

show more ...