core: added a proper log.