mac os x newsyslog for apache logs

mac os x (darwin) doesn't seem to have anything set up for rotating apache2 logs. they may grow until they are a problem if you use your mac for development.
newsyslog can have an apache2.conf file added in /private/etc/newsyslog.d/

# logfilename          [owner:group]    mode count size when  flags [/pid_file] [sig_num]
/var/log/apache2/*_log  root:wheel      664  104   *    $M1D0 GBJ   /var/run/ 30
that keeps 104 logs, which would be two years worth

be warned that installing lion or mountain lion wipes out the newsyslog config files, and all of your logs! (and many other customized configuration files (and note that Time Machine does NOT backup logs))

check this page for more info on newyslog:

-- linux_macosx_hints_etc page