key_commit: added a debug message to doc processing