transcode example: fix named arg parsing and add log statement