on
04 Dec 2023
12:51 PM
- edited on
05 Dec 2023
07:50 AM
by
MaciejNeumann
PROBLEM
After configuring log collection for AWS Lambda, the log exporter prints errors saying that log ingest is disabled or receives an HTTP 429 status code.
SOLUTION
100000 is the default).| Environment variable | Value |
DT_LOG_COLLECTION_LOG_LEVEL |
|
DT_LOGGING_DESTINATION |
|
dtconfig.json configuration, you can enable debug logging by setting the LogCollection.LogLevel and Logging.Destination properties:{
...other values...
"Logging": {
"Destination": "stdout"
},
"LogCollection": {
...other values...
"LogLevel": "debug"
}
}
The log collector will then print debug logs to the Lambda function's log stream. You can view these logs in the CloudWatch console. Note that the collector will not send its own logs to Dynatrace.