Altered to fix broken changes in SQLLogData