Accursed logging slowing things down