CLI import monitor: replace stdout with debug log