logging key history