[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Mailing web server logs



Hello,

I want my RaQ 3 to get the daily web server logs to me directly (by email, I
guess), and this is what I think I have to do. Would someone confirm that
this is correct and that it will work? There doesn't appear to be an option
for this in the Web-based admin interface.

I edit the file /etc/logrotate.d/home like so (with comments indicating what
I think I am doing!):


#/home/sites/home IS MY WEBSITE

/home/sites/home/logs/web.log {

#NEW COMMAND
   mail david.buxton@xxxxxxxxxxxx

#REST AS IS
   missingok
   compress
   size 180M
}


Will I need to -HUP cron or something before my changes take effect?

Many thanks in advance,

David Buxton.