tern: log the various fixes of empty languages
(cherry picked from commit e104b9d953a483effb186af7a379373589b50fc3)