How to configure and track user session in CA Release Automation
Release : 6.7
Component : CA RELEASE AUTOMATION ADMINISTRATION
The Release Automation do already have implementation of capturing the user session details in logs. Please follow instruction as per document "Enable Session Id logging" to configure the same.
Note: Post configured the restart of the Nolio Automation Center (NAC) a.k.a. Data Management Server (DMS) service restart is required to let change take effect.
The user session details are recorded in NAC logs nolio_requests.log. The important line to look to track the session details are mentioned below.
Login Page requested by user
2021-10-18T09:16:35.180+05:30 …. [ URL: : http://TEST-NAC-SERVER:8080/datamanagement/login.jsp][ SESSION ID: 5d36d1b9298068790a730221dcf6b593db6da8*******][ USER NAME: anonymousUser][ REMOTE HOST: ****][ REMOTE ADDRESS: ****]….[ DURATION: 13 ms ]
Successful authentication for user. User name is identifiable for mentioned session-id
2021-10-18T09:16:38.969+05:30 …. [ URL: : http://TEST-NAC-SERVER:8080/datamanagement/index.jsp][ SESSION ID: 5d36d1b9298068790a730221dcf6b593db6da8*******][ USER NAME: testuser][ REMOTE HOST: ****][ REMOTE ADDRESS: ****] ……… [ DURATION: 3 ms ]
Successful logout for user
2021-10-18T09:34:47.361+05:30 ….. [ URL: : http://TEST-NAC-SERVER:8080/datamanagement/logout.jsp][ SESSION ID: 5d36d1b9298068790a730221dcf6b593db6da8*******][ USER NAME: testuser][ REMOTE HOST: ****][ REMOTE ADDRESS: ****] ……. [ DURATION: 19 ms ]