]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Call reopen_logs() in the smbd scavenger
authorVolker Lendecke <vl@samba.org>
Tue, 3 Dec 2019 12:22:06 +0000 (13:22 +0100)
committerRalph Boehme <slow@samba.org>
Mon, 9 Dec 2019 16:10:38 +0000 (16:10 +0000)
If you have per-process logfiles with %d, the scavenger will get its
own logfile

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/scavenger.c

index cd5c85d28710e9b1110903b6c6f702e11a8ea831..de07719468b8069c1f7ed69c2fd9b6a70fcd5cc2 100644 (file)
@@ -250,6 +250,8 @@ static bool smbd_scavenger_start(struct smbd_scavenger_state *state)
                        return false;
                }
 
+               reopen_logs();
+
                state->am_scavenger = true;
                *state->scavenger_id = messaging_server_id(state->msg);