[core] Fix class name in log messages