Improve ThreadSynchronization Logging (enable release logging if required)