diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2022-03-05 19:43:44 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2022-03-07 18:03:16 +0100 |
commit | 3bcdae106e76f3f7259a1e9c251993ec7e33dc96 (patch) | |
tree | 2841114ad6e6267a2de55499bd81743f340a55d4 /lib/zlog_live.h | |
parent | lib: add a few more bits to live log header (diff) | |
download | frr-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.h | 1 |
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) { |