org-log-into-drawer

org-log-into-drawer is a variable defined in `org.el'.
Its value is
nil


Documentation:
Non-nil means insert state change notes and time stamps into a drawer.
When nil, state changes notes will be inserted after the headline and
any scheduling and clock lines, but not inside a drawer.

The value of this variable should be the name of the drawer to use.
LOGBOOK is proposed as the default drawer for this purpose, you can
also set this to a string to define the drawer of your choice.

A value of t is also allowed, representing "LOGBOOK".

A value of t or nil can also be set with on a per-file-basis with

#+STARTUP: logdrawer
#+STARTUP: nologdrawer

If this variable is set, `org-log-state-notes-insert-after-drawers'
will be ignored.

You can set the property LOG_INTO_DRAWER to overrule this setting for
a subtree.

You can customize this variable.