agent.logFile

Description

Specifies the path and name of the agent log file.

Default

Note that in agent.properties, the default setting for agent.LogFile is made up of a variable and a string.

agent.logFile=${agent.logDir}\agent.log
  • agent.logDir is a variable - it supplies the value of an identically named agent property. By default, the value of agent.logDir is log, interpreted relative to the agent installation directory.

  • agent.log is the name for the agent log file.

So, by default, the agent log file is named agent.log, and is written to the AgentHome/log directory.

If you want the agent to the log to a different directory, you must explicitly add the agent.logDir property to agent.properties.