Fix logging

Had to put this together in order to get things working properly in the invoice builder client tests.