I don't have Logic Pro-- or an Akai Advance 49, for that matter-- but from the Advance 49's User Guide it looks like there's a default setup available for Logic Pro X. Is that what you're using? If that preset doesn't work for your version of Logic Pro, I wonder if you could create a custom setup?
Also, many DAWs have a MIDI-learn feature that can be used to map a particular control of a controller to a particular function in the DAW. I'm not familiar with how Logic Pro works, but I assume it probably has such a feature.