Removed old logging code