log value as well as key