How to stop consolekit logging

Doug dmcgarrett at optonline.net
Fri Nov 4 22:57:38 UTC 2011


On 11/04/2011 05:24 PM, Colin Law wrote:
> I am running Ubuntu on a Sheeva Plug PC on an SD card so I want to
> minimise the amount of logging.  I have been unable to find any way of
> stopping consolekit from logging to /var/log/ConsoleKit/history or at
> least reducing the detail.  It gets written to every few minutes and
> grows at about 0.5MB/day.  Google has failed me and the consolekit
> documentation that I found said nothing about logging.
>
> Any ideas anyone?
>
> Colin
>
If you can't stop it, you could write a cron script that would rm
the log each day. If you really got fancy, the script would only
rm files older than x days, so you could look up the last day or two, if 
you should want to.

--doug

-- 
Blessed are the peacemakers...for they shall be shot at from both sides. 
--A. M. Greeley




More information about the ubuntu-users mailing list