Fix logging broken by previous commit.