By default, the Database Agent writes log files to the log directory.
Configure Agent Logging
You can configure the agent to generate log files.
- From the agent home directory, navigate to log directory.
- Open
log4j2.xml
. Find
logger name="com
"
. Inside this tag, setlevel value
todebug
, as shown below:<logger name="com"> <level value="debug"/> </logger>
- Let the agent run for 10 minutes to generate some logs.
- From the agent home directory, navigate to the log directory to view your logs.