Created On:  24 July 2012

Problem:

To change the logging folder used by SilkTest, perform the following steps:

1) Shutdown the SilkTest client, agent and Application under test
2) To configure agent logging go to the following folder: 
\ng\agent\plugins\com.borland.silktest.log4jconfig_\config 
 
3) Save a backup copy and edit with a text editor: log4j.properties
 
4) Modify the value for 'log4j.appender.xml.File' and 'nativeLog.LogDirectory' appropriately. 
Note that the syntax there requires forward slashes instead of backslashes to specify a path, e.g.
 
log4j.appender.xml.File=C:/SilkLog/SilkTest_OpenAgent_Log.xml
nativeLog.LogDirectory=C:/SilkLog/ 
 
5) To configure recorder logging go to the following folder: 
\ng\recorder\plugins\com.borland.silktest.recorder.log4jconfig_\config 
 
6) Save a backup copy and edit with a text editor: log4j.properties
 
7) Modify the value for 'log4j.appender.xml.File' in the same way as before with the agent logging, e.g.
 
log4j.appender.xml.File=C:/SilkLog/SilkTest_Recorder_Log.xml