logarithm of a product