Add logs for keyboard key code processing. (dm)