cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Knowledge Base

How do I enable DEBUG level logging?

What are the steps to enabling DEBUG mode for logging?

Updated on 7/26/18

 

Most AppDynamics app agents use INFO level logging by default. Sometimes, it is useful to collect logs with DEBUG level logging—for example:

  • when confirming life cycle phases to debug configuration issues, or
  • when AppDynamics Support requests DEBUG logs. 

Once DEBUG mode is enabled, apply load on the application and collect the debug logs. 

 

Table of Contents

 

How do I enable DEBUG  level logging?

  1. On the Agents tab of the Nodes dashboard, scroll to the Agent Operations panel.
  2. Click Request Agent Log Files
  3. By default the agent zips all logs in the agent log directory into one zip file.
    • For the Java Agent or PHP Agent, you can select one of the other options:
      Output from a specific logger at a set level, for a fixed duration:
      use com.singularity and select Logger Level=Debug, Specify a duration, such as 15 minutes. 
      Agent_debug_logs_4_2.png

  4. (Optional) Enter a name for your request.
    The name you provide identifies your request in the name of the generated zip file.

    For example, the name CurrentTime produces a zip file named similar to CurrentTime_Node_8000_1390503141046.zip.

  5. After the logging session completes and the log file has been written to disk, click Request Agent Log Files and the logged request and response output will appear in the Controller UI. You must Request the log files before you can download them.

 

Related Resources

Version history
Last update:
‎11-18-2020 12:52 PM
Updated by:
Labels (2)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
Comments

Hi,

I have tried to enable the debug log without success... the radio button is being disabled.

 

image001 - Unable to select debug mode.png

Can anyone help me? Thanks.

 

Regards,

Thang

@Thang.Nguyen 

   It seems that you do not have permissions to capture logs.

   Please ref# the below doc# and enable the permissions to collect debug logs.

Doc#

https://docs.appdynamics.com/21.8/en/application-monitoring/administer-app-server-agents/request-age...

 

Thanks

Naren

@Narendra.Nath 

 

I have read through the document and I am pretty sure that my account has the permission.

 

 

Screen Shot 2021-08-26 at 14.33.34.pngScreen Shot 2021-08-26 at 14.34.05.png

 

Regards,

Thang

@Thang.Nguyen 

   Looks like you are using .NET agent. Can you please log a help desk ticket to get assistance from respective team.

 

Thanks

Naren