log the right things