fixed outputtxt's invalid toString() and unit test, added batch pipeline support
fixed missing log record shallow copy for batch pipe