core: more logging