Removing pointless logging