Corrected some loggin output.