Isn't this meant to be `"log_syntax"`?

(Also, it seems like saving `path.segments.last().identifier` into a separate variable would be DRY-er.)