There seems to be a bug in Org mode version 9.4.6, (9.4.6-2-g21eb69-elpa ...), 

For example, I have a TODO habit task like so:

TODO Some task
SCHEDULED: <2021-06-08 Tue .+1d>
:PROPERTIES:
:STYLE:    habit
:LAST_REPEAT: [2021-06-07 Mon 23:19]
:CATEGORY: Daily Chores
:END:
:LOGBOOK:
- State "DONE"       from "TODO"       [2021-06-07 Mon 23:19]
- State "DONE"       from "TODO"       [2021-06-06 Sun 22:18]
- State "DONE"       from "TODO"       [2021-06-05 Sat 23:13]
:END:

When I mark the task as DONE for the day, it logs the task as:

TODO Some task
SCHEDULED: <2021-06-09 Tue .+1d>
:PROPERTIES:
:STYLE:    habit
:LAST_REPEAT: [2021-06-08 Tue 22:20]
:CATEGORY: Daily Chores
:END:
:LOGBOOK:
- State "DONE"       from "TODO"       [2021-06-08 Tue 22:20]  <-- Repeated entry
- State "DONE"       from "TODO"       [2021-06-08 Tue 22:20]
- State "DONE"       from "TODO"       [2021-06-07 Mon 23:19]
- State "DONE"       from "TODO"       [2021-06-06 Sun 22:18]
- State "DONE"       from "TODO"       [2021-06-05 Sat 23:13]
:END: