Creating a log file in RTC
3 answers
Benjamin,
does either https://jazz.net/forum/questions/76965/configuring-my-plugin-to-use-log4j
answer your question or the fact that RTC writes logfiles server side in /server/logs/ccm.log which can be configured via log4j.properties in .../conf/ccm?
- Arne
If you mean a transaction log on what SCM does, there is no log I am aware of. The interesting information is available in the tool such as the component history. The CCM application has a log (ccm.log) that logs things and can be configured to log more, but more and more logging impacts the performance.
One can configure SCAA logging in the log4j.properties ( it is required where for the repositories we manage ). e.g.
# Uncomment these lines to create a versioned content access log file
# WARNING : These files will grow fairly fast, if you wish to process this accurately, you
# will could use a FileAppender and pipe it into another script/program. 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/rtc3srv1-9443-ccm.log
The output looks like:
2017-01-24 15:29:47,670 SCAA:giang/FileItem,attr_kuxlfapfls.properties,dnRjwI9rEeWHh8QAkPZy-w,_CSqWicEYEeWKwO3eM2_Zsg/supports,-zbT4GXDEeS12b1Wd8MBdw
2017-01-24 15:32:01,157 SCAA:giang/FileItem,attr_kuxlfapfls.htm,dnQ8sI9rEeWHh8QAkPZy-w,_EHjiM-JEEeaH2uZMOIV9EA/supports,-zbT4GXDEeS12b1Wd8MBdw
2017-01-24 15:32:01,175 SCAA:giang/FileItem,attr_kuxlfapfls.htm,dnQ8sI9rEeWHh8QAkPZy-w,_1jsrTb98EeWKwO3eM2_Zsg/supports,-zbT4GXDEeS12b1Wd8MBdw
But that only logs file fetches, not things like deliver ( which can be discerned using the SCM utility ). And as you can see not much of the information in the SCAA is suitable for human consumption.
https://jazz.net/wiki/bin/view/Main/SCMScaa
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jan 23 '17, 9:56 a.m.Benjamin Maier
Jan 24 '17, 3:00 a.m.Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jan 24 '17, 3:15 a.m.