Fix REPL logging, broken by new callback handling.