Logic: Overdubbing MIDI tracks and regions

To overdubb MIDI tracks in Logic you have a few different preference options.

To choose between them go to

File/Project settings/Recording

Click on the menu titled Overlapping recordings