Cleaned up logging copy.