There are no cPanel options to rotate the /var/log/messages file. However, you can install/configure LogWatch to rotate this file for you. I am not aware of of any settings that will only remove certain parts of the log entries, but you can configure the log itself to be rotated.