Changed cout to log