上一主题: 命令行 ProbeBuilder 和 ProbeBuilder 向导日志的名称与位置下一主题: 配置 LeakHunter 和 ErrorDetector


AutoProbe 日志名称和位置

AutoProbe 将始终尝试记录它所做的更改。 默认情况下,AutoProbe 日志文件命名为 AutoProbe.log

更改 AutoProbe 日志的名称或位置

  1. 在文本编辑器中打开 IntroscopeAgent.profile
  2. 找到 introscope.autoprobe.logfile 属性,使用完全限定的文件路径修改日志名称和位置。 非绝对名称将相对于 IntroscopeAgent.profile 文件的位置进行解析。

    注意:在加载某个类路径上的资源中的代理配置文件时,AutoProbe 无法写入 AutoProbe 日志文件,因为 IntroscopeAgent.profile 文件位于资源内部。

    您必须重新启动托管应用程序,对此属性所做的更改才能生效。

  3. 保存 IntroscopeAgent.profile