Detailed user logs
One answer
None of that is across environments, just within a single application.
Comments
Kevin, can you be more specific? How to switch it on and where the data goes? I am not aware of it and I couldn't find information on it.
Thanks!
For Tomcat access logs edit $JAZZ_INST/server/tomcat/conf/server.xml to enable this Valve:
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="/rtclogs/rtcserver1/access_logs" pattern="common" prefix="rtp-rtc1_access_log." resolveHosts="false" suffix=".txt"/>
directory and prefix control where the logs go. In WebSphere, Troubleshooting > Logging and Tracing [ server ] > NCSA access and HTTP Error
For the SCAA edit the appropriate log4j.properties for the CCM, look for an 'uncomment'
log4j.appender.scm_scaa=org.apache.log4j.DailyRollingFileAppender
log4j.appender.scm_scaa.layout=org.apache.log4j.PatternLayout
log4j.appender.scm_scaa.DatePattern='.'yyyy-MM-dd
log4j.appender.scm_scaa.layout.ConversionPattern=%d{ISO8601} %m %n
log4j.appender.scm_scaa.File=/scaalogs/rtp-rtc1-9443-jazz.log
log4j.appender.scm_scaa.MaxBackupIndex=2
log4j.appender.scm_scaa.MaxFileSize=7000KB
log4j.logger.scm_scaa=TRACE, scm_scaa
log4j.additivity.scm_scaa=false
1 vote
Thanks for the responses. Could these logs provide detailed information on exactly what was accessed? I.e, User, John Smith viewed work item 3554 on November 11th 2014 @ 2.30pm on IP address <some IP address> ?
If the application server is Tomcat enough is there to answer all the questions. WebSphere doesn't log the ID. If memory serves, user ID is where the 2nd dash (-) is below.
WebSphere NCSA Access log example [ I viewed w/i 16389 ]:
IP_ADDRESS - - [13/Nov/2014:08:39:06 -0500] "GET /jazz/service/com.ibm.team.workitem.common.internal.rest.IWorkItemRestService/workItemDTO2?includeHistory=false&id=16389 HTTP/1.1" 200 -IP_ADDRESS - - [13/Nov/2014:09:22:54 -0500] "GET /jazz/service/com.ibm.team.workitem.common.internal.rest.IWorkItemRestService/workItemDTO2?includeHistory=false&id=16389 HTTP/1.1" 200 -IP_ADDRESS - - [14/Nov/2014:14:43:12 -0500] "GET /jazz/service/com.ibm.team.workitem.common.internal.rest.IWorkItemRestService/workItemDTO2?includeHistory=false&id=16389 HTTP/1.1" 200 -IP_ADDRESS - - [17/Nov/2014:10:24:41 -0500] "GET /jazz/service/com.ibm.team.workitem.common.internal.rest.IWorkItemRestService/workItemDTO2?includeHistory=false&id=16389 HTTP/1.1" 200 -
Comments
Michael Alberda
Oct 04 '17, 2:21 p.m.Hi,
Has there been any progress on this with later releases? We have the same requirements but are running WAS 8.5.5 with CLM v6.0.
Thanks,
Regards,
Michael.