Global fluctuations for 1D log-gas dynamics