Tidy up Log.d calls