Are these logging statements really needed?