summaryrefslogtreecommitdiffstats
path: root/lib/zlog_live.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2022-03-05 19:43:44 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2022-03-07 18:03:16 +0100
commit3bcdae106e76f3f7259a1e9c251993ec7e33dc96 (patch)
tree2841114ad6e6267a2de55499bd81743f340a55d4 /lib/zlog_live.h
parentlib: add a few more bits to live log header (diff)
downloadfrr-3bcdae106e76f3f7259a1e9c251993ec7e33dc96.tar.xz
frr-3bcdae106e76f3f7259a1e9c251993ec7e33dc96.zip
lib: add `monitor:<fd>` command line log target
This provides direct raw log output with full metadata directly at startup regardless of configuration details. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/zlog_live.h')
-rw-r--r--lib/zlog_live.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/zlog_live.h b/lib/zlog_live.h
index 5e80f016f..ab8aae452 100644
--- a/lib/zlog_live.h
+++ b/lib/zlog_live.h
@@ -68,6 +68,7 @@ struct zlog_live_cfg {
extern void zlog_live_open(struct zlog_live_cfg *cfg, int prio_min,
int *other_fd);
+extern void zlog_live_open_fd(struct zlog_live_cfg *cfg, int prio_min, int fd);
static inline bool zlog_live_is_null(struct zlog_live_cfg *cfg)
{