Bastien <b...@altern.org> writes: > Hi Loris, > > "Loris Bennett" <loris.benn...@fu-berlin.de> writes: > >> I have a small number of tasks that I clock into daily. I have already >> manually split off the older log entries into a separate draw called >> OLDLOGS. However, I was wondering whether there is a way of archiving >> these log entries while preserving the heading itself in the original >> org file. > > The question is: _where_ to archive those log entries? > > The best idea I can think of is another drawer, like you did. > As for automating this a bit, a nice Elisp exercise :)
When my LOGBOOK entries get too big I clone the task, remove the repeater and mark it DONE (so I can archive the old entries and continue with my current stuff) For habits I keep some history so the current habit graph is correct and for non-habits I usually (but not always) archive the clock entries from beginning of this month and earlier. My trigger for doing this is when I notice todo state changes take a noticeable amount of time on the agenda. I do this infrequently so I haven't bothered automating it. I do have to manually delete all of the duplicated notes in the LOGBOOK drawer for the clone (clock lines are removed in cloned tasks but the notes are not which feels wrong ... but it hasn't bothered me enough to try to fix it yet.) I'm sure there's a better way I haven't discovered yet. Just my 2 cents. Regards, Bernt