{"id":17302,"date":"2024-11-18T09:30:24","date_gmt":"2024-11-18T09:30:24","guid":{"rendered":"https:\/\/truehost.com\/support\/?post_type=docs&#038;p=17302"},"modified":"2024-11-18T09:30:25","modified_gmt":"2024-11-18T09:30:25","password":"","slug":"how-to-enable-dotnet-core-error-logging-plesk","status":"publish","type":"docs","link":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-dotnet-core-error-logging-plesk\/","title":{"rendered":"How to enable dotNET Core Error logging Plesk"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>This guide will demonstrate how you can enable logging of errors for your dotnet core application to assist in troubleshooting.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">This guide can be helpful for Errors such as below<\/h4>\n\n\n\n<p>Error 500.31 &#8211; Failed to load ASP.NET Core runtime<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"518\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-342-1024x518.png\" alt=\"\" class=\"wp-image-17305\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-342-1024x518.png 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-342-300x152.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-342-768x388.png 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-342.png 1214w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Error 500.30 &#8211; ASP.NET Core app failed to start.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"390\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-341.png\" alt=\"\" class=\"wp-image-17304\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-341.png 786w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-341-300x149.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-341-768x381.png 768w\" sizes=\"auto, (max-width: 786px) 100vw, 786px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Steps:<\/h4>\n\n\n\n<h5 class=\"wp-block-heading\">Step 1: Login to Plesk<\/h5>\n\n\n\n<p>Once logged into Plesk -> Click on <strong>Website &amp; Domains<\/strong> in the left hand navigation -> Dashboard tab -> .NET Core<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"928\" height=\"461\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-344.png\" alt=\"\" class=\"wp-image-17307\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-344.png 928w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-344-300x149.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-344-768x382.png 768w\" sizes=\"auto, (max-width: 928px) 100vw, 928px\" \/><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\">Step 2 : under the Logs section, select the tick box Redirect stdout\/stderr to a file.<br>Click on the pencil icon and update Path to the log file directory to be logs.<br>Then Apply.<\/h5>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1007\" height=\"347\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-345.png\" alt=\"\" class=\"wp-image-17308\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-345.png 1007w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-345-300x103.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-345-768x265.png 768w\" sizes=\"auto, (max-width: 1007px) 100vw, 1007px\" \/><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\">Step 3: Navigate and load Website in a Browser which will then write debugging entries in a stdout_<strong>*<\/strong>.log file created for you.<\/h5>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"333\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-346-1024x333.png\" alt=\"\" class=\"wp-image-17309\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-346-1024x333.png 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-346-300x98.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-346-768x250.png 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-346.png 1061w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\">Step 4: To view the log file go to <strong>Files<\/strong> -> <strong>logs <\/strong>and click on the <strong>stdout_*.log<\/strong> file which will open in Plesk File manger for viewing the results.<\/h5>\n\n\n\n<p>Example below of the log file to assist in diagnosing the issue\/error.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"351\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-347-1024x351.png\" alt=\"\" class=\"wp-image-17310\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-347-1024x351.png 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-347-300x103.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-347-768x263.png 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-347.png 1322w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Done. <\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8211; Failed to load ASP.NET Core runtime Error 500.30 &#8211; ASP.NET Core app failed to start. Steps: Step 1: Login to Plesk Once [&hellip;]<\/p>\n","protected":false},"author":24,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"doc_category":[1834],"doc_tag":[],"class_list":["post-17302","docs","type-docs","status-publish","hentry","doc_category-plesk"],"year_month":"2026-07","word_count":172,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Kibera","author_nicename":"dan-k","author_url":"https:\/\/truehost.com\/support\/author\/dan-k\/"},"doc_category_info":[{"term_name":"Plesk","term_url":"https:\/\/truehost.com\/support\/docs-category\/plesk\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to enable dotNET Core Error logging Plesk -<\/title>\n<meta name=\"description\" content=\"This guide will demonstrate how you can enable logging of errors for your dotnet core application on Plesk for troubleshooting..\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-dotnet-core-error-logging-plesk\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to enable dotNET Core Error logging Plesk -\" \/>\n<meta property=\"og:description\" content=\"This guide will demonstrate how you can enable logging of errors for your dotnet core application on Plesk for troubleshooting..\" \/>\n<meta property=\"og:url\" content=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-dotnet-core-error-logging-plesk\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-18T09:30:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-342-1024x518.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-enable-dotnet-core-error-logging-plesk\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-enable-dotnet-core-error-logging-plesk\\\/\",\"name\":\"How to enable dotNET Core Error logging Plesk -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-enable-dotnet-core-error-logging-plesk\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-enable-dotnet-core-error-logging-plesk\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/image-342-1024x518.png\",\"datePublished\":\"2024-11-18T09:30:24+00:00\",\"dateModified\":\"2024-11-18T09:30:25+00:00\",\"description\":\"This guide will demonstrate how you can enable logging of errors for your dotnet core application on Plesk for troubleshooting..\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-enable-dotnet-core-error-logging-plesk\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-enable-dotnet-core-error-logging-plesk\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-enable-dotnet-core-error-logging-plesk\\\/#primaryimage\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/image-342-1024x518.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/image-342-1024x518.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-enable-dotnet-core-error-logging-plesk\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/truehost.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to enable dotNET Core Error logging Plesk\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"name\":\"\",\"description\":\"Help In a Click\",\"publisher\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/truehost.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\",\"name\":\"Truehost Kenya\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"width\":240,\"height\":48,\"caption\":\"Truehost Kenya\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"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 on Plesk for troubleshooting..","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-dotnet-core-error-logging-plesk\/","og_locale":"en_US","og_type":"article","og_title":"How to enable dotNET Core Error logging Plesk -","og_description":"This guide will demonstrate how you can enable logging of errors for your dotnet core application on Plesk for troubleshooting..","og_url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-dotnet-core-error-logging-plesk\/","article_modified_time":"2024-11-18T09:30:25+00:00","og_image":[{"url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-342-1024x518.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-dotnet-core-error-logging-plesk\/","url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-dotnet-core-error-logging-plesk\/","name":"How to enable dotNET Core Error logging Plesk -","isPartOf":{"@id":"https:\/\/truehost.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-dotnet-core-error-logging-plesk\/#primaryimage"},"image":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-dotnet-core-error-logging-plesk\/#primaryimage"},"thumbnailUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-342-1024x518.png","datePublished":"2024-11-18T09:30:24+00:00","dateModified":"2024-11-18T09:30:25+00:00","description":"This guide will demonstrate how you can enable logging of errors for your dotnet core application on Plesk for troubleshooting..","breadcrumb":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-dotnet-core-error-logging-plesk\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-dotnet-core-error-logging-plesk\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-dotnet-core-error-logging-plesk\/#primaryimage","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-342-1024x518.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-342-1024x518.png"},{"@type":"BreadcrumbList","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-dotnet-core-error-logging-plesk\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/truehost.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to enable dotNET Core Error logging Plesk"}]},{"@type":"WebSite","@id":"https:\/\/truehost.com\/support\/#website","url":"https:\/\/truehost.com\/support\/","name":"","description":"Help In a Click","publisher":{"@id":"https:\/\/truehost.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/truehost.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/truehost.com\/support\/#organization","name":"Truehost Kenya","url":"https:\/\/truehost.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","width":240,"height":48,"caption":"Truehost Kenya"},"image":{"@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/17302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/comments?post=17302"}],"version-history":[{"count":1,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/17302\/revisions"}],"predecessor-version":[{"id":17311,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/17302\/revisions\/17311"}],"wp:attachment":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/media?parent=17302"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_category?post=17302"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_tag?post=17302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}