Menu

#2 'Cleanup' Option

open
nobody
5
2007-01-25
2007-01-25
simon wood
No

If would be usefull to have a '--cleanup' option to remove unnescessary data from the log files, for example if a feed only lists recent podcasts or you have deleted a feed.

Simon.

Discussion

  • Huw Lynes

    Huw Lynes - 2008-03-29

    Logged In: YES
    user_id=1332696
    Originator: NO

    Why do you want to remove all the old information?
    What is the benefit?

    Thanks,
    Huw

     
  • simon wood

    simon wood - 2008-03-29

    Logged In: YES
    user_id=39509
    Originator: YES

    I was thinking about the 'mobile' configuration, where the config/log files are stored on the media player, as was just concerned that the logs would get quite large and have loads of junk in them after a couple of years usage...

    Mungewell.

     
  • Huw Lynes

    Huw Lynes - 2008-04-01

    Logged In: YES
    user_id=1332696
    Originator: NO

    OK, thats a reasonable use case. So presumably running
    peapod.py --cleanup
    should remove lines from download.log where the podcast is no longer on the filesystem or in the feed?
    Removing files that belong to old feeds is slightly harder as the download.log file doesn't actually record where the download came from.
    I'll take a look at the code and see if I can come up with a plan.

    In the longer term I'd like to move to using sqlite as back-end which would make this kind of thing much easier.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.