key_commit: added logging