How to stop consolekit logging
Colin Law
clanlaw at googlemail.com
Sat Nov 5 08:45:31 UTC 2011
On 4 November 2011 22:20, Nils Kassube <kassube at gmx.net> wrote:
> 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.
>
> I didn't try if it works but I would link /var/log/ConsoleKit/history to
> /dev/null. OTOH, you could put /var/log in a tmpfs if you don't care
> about any logs and if RAM is not too limited for your application. That
> would save even more write operations to the SD card.
Linking to null sounds like a good idea, I will give that a go if I
don't find how to disable the logging. The Sheeva only has 512MB RAM
so a tempfs is not so good.
Thanks
Colin
More information about the ubuntu-users
mailing list