PHP Agent Logging
For the PHP Agent there is an agent log and a proxy log for each instrumented application.
Agent Log
The agent log is located at $<php_agent_install>/logs/agent.log
. The
log contains the transactions that the agent processes and then sends to the proxy.
The default pattern for agent log naming is the following:
agent.log
: the current logagent.log.1
: most recent logagent.log.2
: second most recent logagent.log.3
: third most recent logagent.log.4
: fourth most recent logagent.log.5
: fifth recent log.
The agent creates and rotates a maximum of six log files. Maximum log size is 20 MB, which gives you a maximum of the most recent 120 MB of log data at one time.
Proxy Log
The proxy log is located at
$<php_agent_install/logs/proxy_$date.log
.
This log contains the transactions that the proxy accepts from the agent and then sends to
the Controller. See Proxy
Logging and Dynamic
Language Agent Proxy.