Fixed a little mistake I made in the logger