Add logging to study processing

Tiny change but useful for debugging.
I'll lump it in with the rest of the tests that need to get done.