See region is recorded to each record enabled track. If a MIDI input device outputs MIDI on a channel for which there was no instrument track, that device’s MIDI output is recorded to the selected instrument track.
Download the guides:
Logic Pro User Guide: PDF
Logic Pro Effects: PDF