key_commit: added some logging for debug purposes