Added the logger to the OAuth2 file to see where the item is cut short
added the logger