Delete logs that are too large

Daniel finch-im at otherware.org
Sat Jul 11 00:01:51 EDT 2009


You can do a simple find based on age:

find $HOME/.purple/logs -name *.txt -cmin +3600 --delete

That would delete any log file that was changed over an hour ago

On Sat, Jul 11, 2009 at 5:16 AM, James . <jazzrz86 at gmail.com> wrote:

> On Thu, Jul 9, 2009 at 11:36 PM, Daniel Atallah<datallah at pidgin.im> wrote:
> > On Thu, Jul 9, 2009 at 4:15 AM, James .<jazzrz86 at gmail.com> wrote:
> >> Does pidgin automatically delete logs that are too large (say > 4mb)?
> >> This would be a handy feature (and msn does this too).
> >>
> >
> > There is no way to do this automatically within Pidgin.
> >
> > A plugin could do this, but it isn't particularly likely that you'll
> > get large log files with the way that logging works (you get a new
> > file for each conversation).  In several years of logging, I don't
> > have any files that are larger than 4 megabytes.
> >
> > -D
> >
>
> Oh, okay. But then the problem still remains, does pidgin delete logs
> at all? Here's the issue: I want to keep my logs from taking up
> infinite amounts of space, but at the same time, i dont want to delete
> them all in 1 go when they get too large, but rather, the oldest ones
> first. Is that possible?
>
> _______________________________________________
> Support at pidgin.im mailing list
> Want to unsubscribe?  Use this link:
> http://pidgin.im/cgi-bin/mailman/listinfo/support
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/support/attachments/20090711/1e37236c/attachment.html>


More information about the Support mailing list