How to stop consolekit logging

Colin Law clanlaw at googlemail.com
Sat Nov 5 08:47:06 UTC 2011


On 4 November 2011 22:57, Doug <dmcgarrett at optonline.net> wrote:
> 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.

It is not so much the space as wearing out the SD card that I am
concerned about.

Colin




More information about the ubuntu-users mailing list