is there a way to control what is logged, how much and when to trim system message logs (/var/log/messages, secure, wtmp)? What are the log retensions?

Anyone plz, thx...
jw...