[bug fix] Fix logger in bug migration
v0.24.2