Getting logging under control?

Ben wrote:

I just woke up to some unhappy clients because their website was down.
The log file was an obsurd size, so big that there was no more space
left on the disk.

Is it possible to turn logging off, or at least truncate it every night
or something?

How about using logrotate? You can control the size of the log file and
have it backed up for N number of days.

Long