changed logging line location to prevent test failure