This log is owned by SculptSession, it's a bit misleading to store a pointer to it in the sculpt BVH tree, and having multiple mutable pointers to objects should generally be avoided anyway. Now just pass it to the remeshing function which is the oinly place it was needed anyway.