ASP.NET Core error logging is not enabled by default after publishing an application.  To enable error logging:
  1. Edit your web.config file on the server and change the stdoutLogEnabled attribute from "false" to "true".
  2. Create a "logs" folder in the root directory where you published your ASP.NET Core application to or change the stdoutLogFile attribute's path in the web.config file and then create the corresponding folder where you want the logs placed in.