I believe this information is already being logged. An easy way to get this information in the current Feng Office is to create a report against the user's module:
Reporting => Users => + Add a Custom Report
Order by
[ Last Activity ] [ Descending ]Columns to print:
Company
Username
Display name
Last login
Last activity
Actually... I just looked at my report, and it looks like the
"Last Activity" field is only updates at login time since it remains the same as
"Last login", in fact the same is true of
"Last visit" also.
Maybe it's fixed in 1.6.2 since I'm only in 1.6.1