Creating a log file in RTC
![]() Hello,
|
3 answers
![]() Benjamin,
|
![]()
Ralph Schoon (62.3k●3●36●43)
| answered Jan 24 '17, 5:01 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER 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 The output looks like: 2017-01-24 15:29:47,670 SCAA:giang/FileItem,attr_kuxlfapfls.properties,dnRjwI9rEeWHh8QAkPZy-w,_CSqWicEYEeWKwO3eM2_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
Who writes what into the log?
the system should write events into the log, for example, which data got edited by who. I saw that its possible to create such logs with git and svn, but I dont see a short way to do so in Source Control.
What system? RTC won't write anything in any log file that you create at an arbitrary location in a file system. Your question does not make sense at all without more context. See How should I ask a question in the Forum if I want to receive useful answers? for some thoughts on how to ask. You can create log files with operating system operations or Java and you can also put them under SCM. The question is really what context the logs are supposed to work for.