logging only when debugging