Changed some logging instructions