org-log-repeat

org-log-repeat is a variable defined in `org.el'.
Its value is
time


Documentation:
Non-nil means record moving through the DONE state when triggering repeat.
An auto-repeating task is immediately switched back to TODO when
marked DONE. If you are not logging state changes (by adding "@"
or "!" to the TODO keyword definition), or set `org-log-done' to
record a closing note, there will be no record of the task moving
through DONE. This variable forces taking a note anyway.

nil Don't force a record
time Record a time stamp
note Prompt for a note and add it with template `org-log-note-headings'

This option can also be set with on a per-file-basis with

#+STARTUP: nologrepeat
#+STARTUP: logrepeat
#+STARTUP: lognoterepeat

You can have local logging settings for a subtree by setting the LOGGING
property to one or more of these keywords.

You can customize this variable.