This is related to my earlier query
I am trying to create a service that tracks idle time on a PC (I have defined idle time as the time when no keyboard or mouse events occur). For now, I am checking for idle time periodically using a timer and saving it to the registry.
I want it to work irrespective of the user (and want to hide it from users), so I have implemented it as a service.
It seems there are two ways to implement it:
1) using Journal record.
2) using keyboard and mouse hooks.
I am sure (2) works, but not sure about 1. What are the advantages and disadvantages of each method and which one should I use for my task?