By default, the Database Agent writes log files to the log directory. 

Configure Agent Logging

You can configure the agent to generate log files.

  1. From the agent home directory, navigate to log directory.
  2. Open log4j2.xml.
  3. Find logger name="com". Inside this tag, set level value to debug, as shown below:

    <logger name="com">
       <level value="debug"/>
    </logger>
    CODE
  4. Let the agent run for 10 minutes to generate some logs.
  5. From the agent home directory, navigate to the log directory to view your logs.