IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Logging configuration options
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Logging configuration options
editlogging.log_level
editSets the logging level for the agent.
Valid options: ERROR, WARN, INFO, DEBUG, TRACE
| Default | Type | Dynamic |
|---|---|---|
|
Level |
true |
| Java System Properties | Property file | Environment |
|---|---|---|
|
|
|
logging.log_file
editSets the path of the agent logs.
The special value _AGENT_HOME_ is a placeholder for the folder the elastic-apm-agent.jar is in.
Example: _AGENT_HOME_/logs/elastic-apm.log
When set to the special value System.out, the logs are sent to standard out.
When logging to a file, it’s content is deleted when the application starts.
| Default | Type | Dynamic |
|---|---|---|
|
String |
false |
| Java System Properties | Property file | Environment |
|---|---|---|
|
|
|