Get the use values for logging and debug and set them back after commiting.