---
title: Configure logging
slug: dxp/docs/logging
docTags: 
createdAt: 2026-07-30T20:33:08.367Z
---

The default logging configuration for Azure Web Apps in an environment in DXP has the following setting:

- **Application logging** is *enabled*, and logs are stored in the BLOB storage with *90 days retention*.

You can access application logs for environments from the [DXP Management Portal](docId\:O4YrBd-sHXoEQsTLu6v-z) as a live stream or download them for offline analysis.

The configuration above is applied to environments during provisioning, and you can change it to the **Integration** environment. [Contact Optimizely](mailto\:managedservices@episerver.com) to change any of the following for Preproduction or Production environments:

- Get access to web server logs.
- Temporarily change the logging level.
- Temporarily enable detailed error messages.
- Temporarily enable failed request tracing.

You should use the Microsoft logging abstraction, as described in [logging documentation](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/logging/?view=aspnetcore-5.0)[.](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/logging/?view=aspnetcore-5.0)

See also: [Troubleshoot DXP](docId\:sHz_NhPqe-m31fFySMtBy)
