pmd correction to logger