[core] Improve log messages