You can use agent logging information to troubleshoot issues that are local to an app agent.
This page describes how to work with agent logs. To access agent logging operations in the Controller UI:
To request agent thread dumps or agent debug logs, users need the Agent Advanced Operation permission.
.NET agents respond to log requests and return logs based on the logging configurations. Currently, thread dump samples are not supported for the .NET agent. |
Requesting log files causes the agent to send the contents of its logs directory as a zip file to the Controller. From there, you can download the zip to your local machine.
While the status is PENDING, you can click Refresh to update the status field. Once the request succeeds, as indicated by the status, right-click the agent operation name for your request and choose Download Data. Enter a name for your request to prepend the generated zip file with your name. For example, the name of CurrentTime
produces a zip file named similar to CurrentTime_Node_8000_1390503141046.zip
.
If SUCCESSFUL doesn't eventually appear in the status for the request, the request may have timed out. A request can timeout due to incorrect request parameters or if the server becomes unavailable. In this case, right-click the request and choose Delete Data and retry the request.
These agent-specific considerations apply to logging sessions:
com.singularity
, com.singularity.tm
, com.singularity.tm.jdbc
, or as pattern matching the agent logger name. For a list of supported loggers, see Java Supported Environments.For Java and Database Agents, you can generate log information with the specific type of logging information. For the Node.js and Python agents, the log information generated is from the proxy only.
Choose the duration for the logging session and the debug logger types to initiate. The logger type determines the type of information captured with these options:
Logging Session Type | Type of Information |
---|---|
Application Wide Configuration | Application configuration changes |
Business Transaction Registration | Transaction, exit identification, self-resolution |
Current Time | Requests to synch up the clock skew between the controller and the agent |
Events | Changes in application state that are of potential interest |
Metric Data | Metric data |
Metric Registration | Metric registration |
One Way Agent | For system (machine) agent only, information from the capture feature |
Request Segment data | Snapshot upload of request segment |
System Agent Registration | System (machine) agent registration |
System Agent Reregistration | System (machine) agent reregistration |
System Agent Polling Handler | System (machine) agent configuration request |
Task Execution | Relates to the machine agent where you can create a task to execute on a machine, such as to restart the application server and run a script |
Top Summary Stats | Request to upload the 'most expensive backend' summary |
Application Configuration | Configuration change requests |
Transient Channel | The activity of the transient channel that is used to upload and download instructions for JMX console live data |
Click Start Agent Logging Session. Each selected session type displays in the Session panel with a start and end time based on the selected Duration of the logging session.
When submitting log files, ensure you send the entire contents of the agent logs directory available as a zip file for download when you request the agent logs.