Popular White Paper On This Topic

Larry: OpenSSH has builtin support for writing messages to syslog. Take
a look at the sshd_config file. The parameters SyslogFacility and
LogLevel control how much is logged. There doesn't seem to be much doc
on what the different log levels do but you could experiment by
increasing the level of detail until you get what you want.