core: Tune debug printing.