Auto-generate the table of contents in log.md
It looks like the links in log.md's table of content stopped working (maybe Gitlab changed the way it generates anchors?) This replaces the manually written table of content with an auto-generated one (using the [[TOC]] tag).