Added logging line back in with proper spec objects