Limiting log files in cereal
----------------------------

Cereal is controlled by runit, so the cereal log files are controlled
by the svlogd daemon.

Limiting the log files for session 'foo' is done by placing a svlogd
configuration file in the log directory for session 'foo':

/var/lib/cereal/sessions/foo/log/main/config

By default, svlogd keeps 10 old logfiles around with 1000000 bytes
(1MB) in each.  If you wanted to keep 15 logfiles around with 2000000
bytes in each, you would do:

scs:0:~# cat > /var/lib/cereal/sessions/foo/log/main/config <<EOF
# limit to 15 log files of 2MB each:
s2000000
n15
EOF
scs:0:~# 

See 'man svlogd' for more funky config options. 
