Added logging option and added delta logging to LAO QL.