Created log_template
Implemented processing of batch_log for log_template