A resonably good amtmergetest.pig.
A resonably working version of log merge script.