The RPC Client version present on Kali Linux changed the error message used in the text log processing from STDOUT to STDERR.
Found that adding (2&>1 Edit: this was wrong use 2>&1) after the file redirect would send the STDERR to STDOUT and properly log in the file like before.
Only tested in SMB mode on Kali Linux, but similar fixes might be applied to other areas where STDOUT is relied on.
See edit above in line. I made an error when creating the original issue. The proper redirect was 2>&1 and it should be placed at the end of each line where rpcclient was run.
The RPC Client version present on Kali Linux changed the error message used in the text log processing from STDOUT to STDERR.
Found that adding (2&>1 Edit: this was wrong use 2>&1) after the file redirect would send the STDERR to STDOUT and properly log in the file like before.
Only tested in SMB mode on Kali Linux, but similar fixes might be applied to other areas where STDOUT is relied on.