Merged logging of cog prompts with repo master.