add excessive logging to auto-batch