Remove logger line, fixes issue #19399