Fix logging keys