Changed some logging