The ASP.NET Core (ASP.NET Core Error Logging) is not enabled by default when publishing an application. To activate the error log, we recommend following the instructions below:

  • Edit the web.config file on the server and change the stdoutLogEnabled attribute from "false" to "true"
  • Create a "logs" folder in the root directory where you published your ASP.NET Core application or modify the stdoutLogFile attribute path in the web.config file, and then create the appropriate folder where you want the logs to be placed.

 

If you encounter any problems, please contact us. HostX offers the fastest Windows web hosting service and can provide assistance in troubleshooting your problems.

Was this answer helpful? 0 Users Found This Useful (0 Votes)