How to redirect RTC scm command line logs to a different directory?
Currently, when RTC scm commands are run. Taking an example of the following simple queries:
scm --non-interactive login -r https://clm501:9443/ccm -u clmadmin -P clmadmin -n clm_5011) logs 'scm0.log' to 'scmN.log' is created in <userLocal>\jazz-scm\logs 2) logs '<timestamp>.log' are created in <RTCEclipseClientInstall>\scmtools\eclipse\configuration : Now, logs mentioned in 1) can be redirected using --config. aka ; scm --config <path> How to redirect the timestamp logs in 2) i.e., in <RTCeclipseInstall>\scmtools\eclipse\configuration to a different location? The requirement is to avoid logs being generated in the install path. Thanks in advance, |
Accepted answer
Shashikant Padur (4.3k●2●7)
| answered Dec 19 '14, 12:58 a.m.
JAZZ DEVELOPER edited Dec 19 '14, 12:58 a.m.
You need to add the following lines to the scm.ini file -Dosgi.configuration.area=<configuration directory location>
Note: This would change the location of all the files under the configuration directory and not only the log file.
Not sure if there is a way to just change the location of the log file.
Sunil Kumar R selected this answer as the correct answer
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.