Use these properties to change the name or location of the agent log file.
You can add this property to the agent.properties file to specify the directory where the vRealize Hyperic agent will write its log file. If you do not specify a fully qualified path, agent.logDir is evaluated relative to the agent installation directory.
This property does not exist in the agent.properties file unless you explicitly add it. The default behavior is equivalent to the
agent.logDir=log setting, resulting in the agent log file being written to the AgentHome/log directory.
To change the location for the agent log file, add agent.logDir to the agent.properties file and enter a path relative to the agent installation directory, or a fully qualified path.
The name of the agent log file is configured with the agent.logFile property.
This property specifies the path and name of the agent log file.
In the agent.properties file, the default setting for the
agent.LogFile property is made up of a variable and a string,
agent.logDir is a variable that 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.
By default, the agent log file is named agent.log and is written to the AgentHome/log directory.
To configure the agent to log to a different directory, you must explicitly add the
agent.logDir property to the agent.properties file.