Use logging properly.