1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-05 09:18:06 +03:00
samba-mirror/lib/cmdline
Douglas Bagnall edd5a85127 cmdline_s4: re-initialise logging once loadparm is ready
The first time round we maybe didn't know which files we wanted to log to.
Suppose, for example, we had an smb.conf with

 log level = 1 dsdb_group_json_audit:5@/var/log/group_json.log

we wouldn't see anything in "/var/log/group_json.log", while the level
5 dsdb_group_json_audit messages would go into the main log.

Note that the named file would still be opened by winbindd and others
that use the s3 code, but would remain empty as they don't have anything
to say about dsdb_group_json_audit.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15076

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 9537ac723c)
2022-06-18 08:47:17 +00:00
..
tests lib:cmdline: Add sanity check for options 2021-04-28 03:43:34 +00:00
closefrom_except.c lib: Move closefrom_except*() to a separate file 2021-09-21 01:12:12 +00:00
closefrom_except.h lib: Move closefrom_except*() to a separate file 2021-09-21 01:12:12 +00:00
cmdline_private.h lib/cmdline: add POPT_COMMON_DAEMON daemon popt options 2021-09-06 13:26:35 +00:00
cmdline_s3.c cmdline: Make -P work in clustered mode 2021-11-17 18:29:09 +00:00
cmdline_s4.c cmdline_s4: re-initialise logging once loadparm is ready 2022-06-18 08:47:17 +00:00
cmdline.c cmdline: Add a callback to set the machine account details 2021-11-17 17:41:30 +00:00
cmdline.h cmdline: Add a callback to set the machine account details 2021-11-17 17:41:30 +00:00
wscript cmdline: Make -P work in clustered mode 2021-11-17 18:29:09 +00:00