s3:rpc_server: call reopen_logs before we print the copyright notice
authorStefan Metzmacher <metze@samba.org>
Wed, 16 Aug 2023 14:47:24 +0000 (16:47 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 17 Oct 2023 19:20:38 +0000 (19:20 +0000)
commit94723b6732a67482eb7792e82b01e26a807e8265
tree00d2361c9d7d0bd775a6cd76f0671eeb5aaefa34
parentf35baa4eb2e68a4253f90f85052306471d61bd04
s3:rpc_server: call reopen_logs before we print the copyright notice

This matches what we do in smbd, winbindd and nmbd.

For the workers it's important to call it at all, otherwise
things like 'debug pid = yes' or 'debug class = yes' have no effect
in the workers.

We could argue if we want the copyright notice on the start
of each worker at all, but that's a different discussion...

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/rpc_server/rpc_host.c
source3/rpc_server/rpc_worker.c