logging and whitespace