How to stop consolekit logging
On 4 November 2011 22:57, Doug <firstname.lastname@example.org> 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?
> 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
ubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users