I have a number of repeating tasks set up in my org-mode file. I also have org-log-into-drawer
set to t
(see here). This works nicely so that after a while I have something like this:
* TODO My repeating task
SCHEDULED: <2016-06-27 Mon .+1d>
:LOGBOOK:
- State "DONE" from "TODO" [2016-06-26 Mon 16:34]
- State "DONE" from "TODO" [2016-06-25 Mon 16:32]
- State "DONE" from "TODO" [2016-06-24 Mon 15:34]
- State "DONE" from "TODO" [2016-06-23 Mon 12:34]
:END:
However, the :LOGBOOK:
drawer continues to be filled with new entries ad infinitum. Eventually this becomes unwieldy and I have to manually prune out the older entries.
Is it possible to limit the maximum number of entries in a :LOGBOOK:
drawer so that older entries are discarded when new ones are added?