small refactor - add merge-logs option