how do i prevent the logfiles from getting 2GB of file. what should i set in logrotate?

thanks!