WinLog is the logging program. Installation is discussed in WinLog/WinLog.txt
Command-line Unix programs were also written for this project (for logging X events and doing various analyses) but the source code is fairly disorganized and I have not had a chance to package it up. I may not even have a copy of the X logging program any more.