Removed all Logging code