---
title: How to enable dotNET Core Error logging Plesk
description: "This guide will demonstrate how you can enable logging of errors for your dotnet core application to assist in troubleshooting. #### This guide can be helpful for Errors such as below Error 500.31 - Failed to load ASP.NET Core runtime…"
url: "https://truehost.com/support/knowledge-base/how-to-enable-dotnet-core-error-logging-plesk/"
updated: "2024-11-18"
category: Plesk
---

# How to enable dotNET Core Error logging Plesk

This guide will demonstrate how you can enable logging of errors for your dotnet core application to assist in troubleshooting.

#### This guide can be helpful for Errors such as below

Error 500.31 - Failed to load ASP.NET Core runtime

![](https://truehost.com/support/wp-content/uploads/2024/11/image-342-1024x518.png)

Error 500.30 - ASP.NET Core app failed to start.

![](https://truehost.com/support/wp-content/uploads/2024/11/image-341.png)

#### Steps:

##### Step 1: Login to Plesk

Once logged into Plesk -> Click on **Website & Domains** in the left hand navigation -> Dashboard tab -> .NET Core

![](https://truehost.com/support/wp-content/uploads/2024/11/image-344.png)

##### Step 2 : under the Logs section, select the tick box Redirect stdout/stderr to a file.
Click on the pencil icon and update Path to the log file directory to be logs.
Then Apply.

![](https://truehost.com/support/wp-content/uploads/2024/11/image-345.png)

##### Step 3: Navigate and load Website in a Browser which will then write debugging entries in a stdout_*****.log file created for you.

![](https://truehost.com/support/wp-content/uploads/2024/11/image-346-1024x333.png)

##### Step 4: To view the log file go to **Files** -> **logs**and click on the **stdout_*.log** file which will open in Plesk File manger for viewing the results.

Example below of the log file to assist in diagnosing the issue/error.

![](https://truehost.com/support/wp-content/uploads/2024/11/image-347-1024x351.png)

Done.
