Moved log code-segment for no particular reason