If you have algebraic structure such as s.p.d. matrices, it might beworth doing the cholesky and take (twice) the logsum of the diagonal. This can be more efficient than the sowhat elaborate logdet backward.
Best regards
Thomas