Ignore study logging when it is not enabled.