core: fix logging in __sendToPile__