summaryrefslogtreecommitdiffstats
path: root/lib/zlog_live.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *: auto-convert to SPDX License IDsDavid Lamparter2023-02-091-12/+1
| | | | | | Done with a combination of regex'ing and banging my head against a wall. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* lib, vtysh: report lost messages on live logDavid Lamparter2022-03-071-0/+2
| | | | | | | | | | | The vtysh live logs don't try to buffer messages when vtysh isn't reading them fast enough. Either the kernel has space and can accept messages without delay, or it doesn't and we continue on. While this is intentional (otherwise slow vtysh could block a routing daemon), at least give the user an indication if messages were dropped. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* lib: add `monitor:<fd>` command line log targetDavid Lamparter2022-03-071-0/+1
| | | | | | | This provides direct raw log output with full metadata directly at startup regardless of configuration details. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* lib: add a few more bits to live log headerDavid Lamparter2022-03-071-1/+28
| | | | | | ... and add some comments explaining the individual fields. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* lib: implement `terminal monitor` for vtyshDavid Lamparter2022-02-281-0/+53
Adds a new logging target that sends log messages to vtysh. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>