Can I write to log files?

Discussion in 'General troubleshooting' started by lwoolbert, Jun 24, 2011.

  1. Hi all, I'm new to Winhost and new to being hosted in a true iis environment. I know that I can gain access to my raw log files to view them, but can I also use them for logging errors in my app?
     
    Last edited by a moderator: Oct 14, 2015
  2. The raw logs are HTTP logs. Im assuming you want to write some form of error logging. Either way, you should do so in your own file(s) or some other way.

    Also, look into http://code.google.com/p/elmah/

    There is even NuGet package of it.
     
  3. Thank you. That's all I needed to know!
     

Share This Page