Integrate[Log[1-Cos[x]],{x,-pi,pi}]