Run the following configutil command:
configutil -o logfile.service.maxlogfiles -v number
where number specifies the maximum number of log files.