Log ssh logins

More like a request for comments.

The big issue that I am uncertain of is this won't work for the large number of logins we have as root, as there is no useraccount in Karaage for root, however root is perhaps one of the most important to log.

Apart from that, what do you think of the db model for UserAccountLog?

GenericIPAddressField would be better then IPAddressField - it supports IPv6 too, but unfortunately, requires Django 1.4

At the moment, it only logs successful login attempts.

Brian May