s3:rpc_server: call reopen_logs before we print the copyright notice
commit3d3cc1bd68f5c3495e167a8f939cf0b986038ccb
authorStefan Metzmacher <metze@samba.org>
Wed, 16 Aug 2023 14:47:24 +0000 (16 16:47 +0200)
committerJule Anger <janger@samba.org>
Tue, 19 Dec 2023 09:43:08 +0000 (19 09:43 +0000)
tree573e8db2b85b732470e52b57c138421e8b192e28
parent853efb9dd7b7eccebc5bd8a4129f2dc487ad8120
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>
(cherry picked from commit 94723b6732a67482eb7792e82b01e26a807e8265)
source3/rpc_server/rpc_host.c
source3/rpc_server/rpc_worker.c