Log an IMU but not use it for flight control

I have ‘redundant’ IMU sensors on my flight controller.
I do not (actually, cannot) use all of them for flight control, but I do want to log them to ArduPilot’s log.

I’m using an external IMU sensor (ADIS16507) on an mRo PixRacerPro, and I want to record the onboard sensors for data collection.

I tried enabling them in hwdef.dat, and related parameters are set as follows:
(1st imu = ADIS, 2nd and 3rd are onboard sensors)

EK3_IMU_MASK	1
INS_ENABLE_MASK	127
INS_USE 	1
INS_USE1	0
INS_USE2	0

Here’s the full param list

Do I have the option to log these IMUs?
Either twitching the parameters, or maybe using a Lua script.