I find it quite useful to have the log of when I completed a task in org mode, but get a bit annoyed at the fact that when a TODO is changed to DONE, the log is visible. Is it possible to have it always folded (even when toggling between TODO and DONE) so that the log entry is only visible if I specifically open it?
Thanks!
EDIT: Added screenshot to show how it is now and how it should look like
(setq org-log-state-notes-into-drawer t)
maybe this is what you want? All log related information will stay inside of logbook with this.org-trigger-hook
which is run on state changes. The trick would be to write a function that folds the subtree rooted at theDONE
headline.