mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 02:22:48 +00:00
Merge pull request #6557 from opensourcerouting/zlogbuf-litter
lib: set up TLS log buffer after forking
This commit is contained in:
commit
70cf5c6b04
@ -661,7 +661,6 @@ struct thread_master *frr_init(void)
|
||||
|
||||
zlog_init(di->progname, di->logname, di->instance,
|
||||
ids.uid_normal, ids.gid_normal);
|
||||
zlog_tls_buffer_init();
|
||||
|
||||
command_setup_early_logging(di->early_logging, di->early_loglevel);
|
||||
|
||||
@ -940,6 +939,7 @@ void frr_config_fork(void)
|
||||
if (!di->pid_file)
|
||||
di->pid_file = pidfile_default;
|
||||
pid_output(di->pid_file);
|
||||
zlog_tls_buffer_init();
|
||||
}
|
||||
|
||||
static void frr_vty_serv(void)
|
||||
|
Loading…
Reference in New Issue
Block a user