fix to use plugin logger