The logging of keystrokes, as with a key logger.(noun)
Wiktionary.org : Text is available under the Creative Commons Attribution-ShareAlike License
Use "keylogging" in a sentence
"Well malware can be used to install so called keylogging programs."
"Writing the legislation to prohibit spyware and privacy-invasive practices such as keylogging and skimming"
"Virtual Keyboard: In spite of constant efforts to prevent common spyware attacks such as keylogging, 100 percent detection is an overly optimistic goal."