The easiest way (and least expensive) is to use a basic analog XLR snake splitter. All mics would connect into the splitter head, and then a separate feed of cables (from the splitter snake) connects to the live sound console, and the other feed connects to the recording console. Each console would have their own control over the gain. This is a very common setup for what you are needing.
All you need is an analog snake splitter. Take a look at them on the Internet... I have used them many times for shows; one "trunk" feeds FOH, and the other feeds monitors.