The file was getting
pretty big, so I deleted it.

i cron a C program^W^Wscript to clean up the logs once a month so they
are kept manageable. i don't care if i miss a few minutes' worth:

cpu% cat /bin/chop
#!/bin/rc

cd /sys/log

for (i in       \
        aan             \
        auth            \
        cron            \
        chat    \
        cs              \
        dns             \
        fossil  \
        ftp             \
        imap4d  \
        ipboot  \
        listen  \
        mail            \
        nfs             \
        nfsserver       \
        pop3    \
        portmapper      \
        ppp             \
        pptpd   \
        runq            \
        smtp            \
        secstore        \
        smtp.fail       \
        smtpd   \
        ssh             \
        telnet  \
        timesync        \
)
{
        chmod -a $i
        >$i
        chmod +a $i
}

Reply via email to