Try this. In Logic's Preferences/Audio under the "General" tab, enable "Software Monitoring" and "Input Monitoring Only for Focused Track..... Under the Record Menu item enable Auto-Input-Monitoring and Quick-Punch-In.
How do I turn off monitoring when recording logic?
Choose Logic Pro X > Preferences > Audio > General and deselect software monitoring.
How do I turn off playback in logic?
If so, go to Preferences> Audio> Devices and uncheck a button labelled 'Software Monitoring'. Then you will only hear the signal when you playback the recording.