LinuxMCE Forums

General => Developers => Topic started by: chrisbirkinshaw on November 08, 2007, 05:20:42 PM

Title: Logs filling up server
Post by: chrisbirkinshaw on November 08, 2007, 05:20:42 PM
I am getting gigs of logs filling up my server. As a fix I am running this script every hour:

#!/bin/sh
rm -rf /usr/pluto/diskless/96/var/log/pluto/*
rm -rf /usr/pluto/diskless/96/var/log/acpid
rm -rf /usr/pluto/diskless/39/var/log/pluto/*
rm -rf /usr/pluto/diskless/39/var/log/acpid

Anyone else?

Chris

Title: Re: Logs filling up server
Post by: Zaerc on November 08, 2007, 05:50:20 PM
Might be an idea to look inside the ones getting huge to see what messages they are filling up with, that could indicate a setup or other problem.  Just checked on my cores and the total space they use stays well under 1GiB.

Alternatively I guess you could try editing /etc/pluto.conf and reducing the "LogLevels" parameter.