6.3

Table Of Contents
Configuring the Agent Log Name or Location
Use these properties to change the name or location of the agent log le.
agent.logDir
You can add this property to the agent.properties le to specify the directory where the
Endpoint Operations Management agent will write its log le. If you do not specify a fully qualied path,
agent.logDir is evaluated relative to the agent installation directory.
This property does not exist in the agent.properties le unless you explicitly add it. The default behavior is
equivalent to the agent.logDir=log seing, resulting in the agent log le being wrien to the AgentHome/log
directory.
To change the location for the agent log le, add agent.logDir to the agent.properties le and enter a path
relative to the agent installation directory, or a fully qualied path.
The name of the agent log le is congured with the agent.logFile property.
agent.logFile
This property species the path and name of the agent log le.
In the agent.properties le, the default seing for the agent.LogFile property is made up of a variable and
a string, agent.logFile=${agent.logDir}\agent.logDir.
n
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.
n
agent.log is the name for the agent log le.
By default, the agent log le is named agent.log and is wrien to the AgentHome/log directory.
To congure the agent to log to a dierent directory, you must explicitly add the agent.logDir property to
the agent.properties le.
Configuring the Agent Logging Level
Use this property to control the severity level of messages that the Endpoint Operations Management agent
writes to the agent log le.
agent.logLevel
This property species the level of detail of the messages that the Endpoint Operations Management agent
writes to the log le.
Seing the agent.logLevel property value to DEBUG level is not advised. This level of logging across all
subsystems imposes overhead, and can also cause the log le to roll over so frequently that log messages of
interest are lost. It is preferable to congure debug level logging only at the subsystem level.
The changes that you make to this property become eective approximately ve minutes after you save the
properties le. It is not necessary to restart the agent to initiate the change.
Redirecting System Messages to the Agent Log
You can use these properties to redirect system-generated messages to the
Endpoint Operations Management agent log le.
agent.logLevel.SystemErr
This property redirects System.err to agent.log. Commenting out this seing causes System.err to be
directed to agent.log.startup.
The default value is ERROR.
vRealize Operations Manager Customization and Administration Guide
124 VMware, Inc.