add logging for oauth2
add logs to gitignore