Fixed a small logging bug

Sorry :D I forgot to move 2 lines to the correct place