Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 441286

Summary: [server] Improve oauth log message
Product: [ECD] Orion Reporter: Anthony Hunter <ahunter.eclipse>
Component: ServerAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 8.0   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Anthony Hunter CLA 2014-08-06 14:37:34 EDT
On a server like orion.eclipse.org we get messages like:

INFO  org.eclipse.orion.server.login - Login success: https://www.google.com/accounts/o8/id?id=AItOawlAKSeEwqucuokd50jcuilLeISICWR-7Og

It would be useful to include the userid of the successful login.
Comment 1 Anthony Hunter CLA 2014-11-03 16:33:33 EST
This is resolved with the changes in commit:
http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=1c630d06b884a423070b0f7e831667613ed23cd0

The logs now show:
2014-11-03 16:21:25.663 [qtp235022363-57] INFO  org.eclipse.orion.server.login - Login success: ahunterorion oauth accounts.google.com/103840769757920079165
2014-11-03 16:24:04.383 [qtp235022363-60] INFO  org.eclipse.orion.server.login - Login success: ahunterorion oauth https://api.github.com/users/ahunter-orion/4500523