Removed some logging code