[core] identify origin of log messages