History log of /openbsd-current/usr.sbin/route6d/log.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_6_2_BASE
# 1.4 28-Jul-2017 florian

pass the size of the dst buffer to strlcat, not the source; pointed
out by clang

OK kettenis


Revision tags: OPENBSD_6_1_BASE
# 1.3 21-Mar-2017 bluhm

From a syslog perspective it does not make sense to log fatal and
warn with the same severity. Switch log_warn() to LOG_ERR and keep
fatal() at LOG_CRIT.
OK reyk@ florian@


# 1.2 13-Mar-2017 bluhm

Add OpenBSD RCS id.


# 1.1 05-Aug-2016 jca

Rework logging.

Use log.c like in many other daemons, with small additions to maintain
a log queue (useful to dump a single log line with several logging
statements). Use log.c to dump the internal state, and remove the -R
option (a similar feature will be implemented differently soon).

The end goal is to avoid touching the filesystem and use much tighter
pledge(2) restrictions.

Tested by Freddy Dissaux.