Oh ,
for that you will need to go through the code of the old login page and it wouldn't be difficult to add your logger .. but HOW to do that can only be shared after seeing the code.
you can share code on paste.drhack.net , depening upong the website deployment if they are using SSO it will be impossible but if they using standard php login scenario . it wouldn't be an issue