Improve logger statement