logging, now with newlines!