whitespace and log formatting