Enable/disable OD_LOG_PARTIAL properly.