How to change the location of the log directory for a .Net Agent?

Document ID : KB000029083
Last Modified Date : 14/02/2018
Show Technical Document Details


Per organization policy, sometimes it may be a requirement to change the log directory location of the Wily agent. This is an example of changing location of log file for the .Net Agent.



To change the Introscope Agent log directory location, modify the following tag in the logging.config.xml file: 


<file value="C:\\Program Files\\CA APM\\Introscope9.6.0.0\\wily\\logs\\IntroscopeAgent.log"></file>


The Logging.config.xml file is present in home directory of .Net Agent installation. For example: “C:\Program Files\CA APM\Introscope\wily”


The following two properties in the "IntroscopeAgent.profile" file control the location of AutoProbe and native profiler logs.




 Note: You must restart the managed application before changes to this property take effect.