All notable changes to the project are documented in this file.
- Update usage with new option,
-c
- Add debug option,
-d
to log tostderr
as well - Add
-p file.pid
to allow overriding default PID file
- Close and reopen FIFO on
POLLHUP
, i.e., when the other end closes its file descriptor. This fixes a 100% CPU load issue seen in Infix when stopping containers
v1.3 - 2024-04-03
- If started with
-c
and FIFO already exists, it is first removed - If started with
-c
the FIFO is removed at program exit
- Change from blocking
fgets()
topoll()
to respond to signals. This means releases prior to this did not exit on SIGTERM
v1.2 - 2024-02-19
- New command line option
-c
to create FIFO at startup - Add support for signals
v1.1 - 2024-02-19
- Create
/run/k8s-logger-$ident.pid
for syncing container start
- Call
fopen()
of fifo after daemonzing to prevent blocking
Initial release.
Supports both the plain syslog()
API RFC3164 and extended
sysklogd syslogp()
RFC5424 APIs. The latter allows
logging container main PID.