The problem is that 28686f87 removed the logic which resulted in calling setup_logging(binary_name, DEBUG_FILE); in the binary_smbd_main() without adding the necessary hunk to _samba_cmdline_load_config_s4() that matches what 877183ac added to _samba_cmdline_load_config_s3().