WT-9796 added debugging for __log_write_internal to help identify the root cause on a diagnostics build the failure. If we do find that failure, then we should remove the debugging.
We found the failure and it was on log slot flags which should be atomic. This ticket will be used to fix the log slot flags and remove the debugging.