Log correctly