• /
  • EnglishEspañol日本語한국어Português
  • EntrarComeçar agora

Python agent logs in context

With our Python agent, you can get logs in context, which lets you see your app logs in the context of your other New Relic data. For general information on this feature, see APM logs in context.

Dica

Got lots of Python logs? Check out our tutorial on how to optimize and manage them.

Automatic logs in context options

You have three options to configure APM logs in context to send your app's logs and linking metadata automatically to New Relic.

Este documento ajudou você na instalação?

Secure your data

Your logs may include sensitive information protected by HIPAA or other compliance protocols. By default we obfuscate number patterns that appear to be for items such as credit cards or Social Security numbers, but you may need to hash or mask additional information.

For more information, see our documentation about obfuscation expressions and rules. You can hash or mask your log data by using the New Relic UI or by using NerdGraph, our GraphQL API.

What's next?

After you set up logs in context, make the most of your logging data:

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.