Skip to content

Releases: kernelkit/k8s-logger

k8s-logger v1.4

15 Apr 11:35
Compare
Choose a tag to compare

Changes

  • Update usage with new option, -c
  • Add debug option, -d to log to stderr as well
  • Add -p file.pid to allow overriding default PID file

Fixes

  • 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

k8s-logger v1.3

03 Apr 07:22
Compare
Choose a tag to compare

Changes

  • If started with -c and FIFO already exists, it is first removed
  • If started with -c the FIFO is removed at program exit

Fixes

  • Change from blocking fgets() to poll() to respond to signals.
    This means releases prior to this did not exit on SIGTERM

k8s-logger v1.2

19 Feb 18:28
Compare
Choose a tag to compare

Changes

  • New command line option -c to create FIFO at startup
  • Add support for signals

k8s-logger v1.1

19 Feb 05:51
Compare
Choose a tag to compare

Changes

  • Create /run/k8s-logger-$ident.pid for syncing container start

Fixes

  • Call fopen() of fifo after daemonzing to prevent blocking

k8s-logger v1.0

18 Feb 15:27
Compare
Choose a tag to compare

Initial release.

Supports both the plain syslog() API RFC3164 and extended
sysklogd syslogp() RFC5424 APIs. The latter allows logging
container main PID.