Merge "Use a dedicated flag to set TC3_DEBUG_LOGGING" into main