And some more logging