The information about successful logins/logouts is stored in "/var/adm/wtmp". You might want to consult the manpage of "last", which prints out reports of this file (and other files formatted the same way).
As a last resort (and if nothing better comes up) you could create a daemon based on this command and let this write to the SYSLOG facility.