Skip to content

Error Logging

Jonas Van der Biest edited this page Jul 18, 2016 · 2 revisions

elmah

For error logging the website makes use of elmah. By default we support logging to XML files. Log files are located in the "App_Data\Errors" folder of the API project but normally you use the elmah log viewer.

To view the log history browse to:

http://YOURSITEADDRESS/api/elmah.axd

If the logging is working properly following page is shown:

To test if the logging to file is working enter the following url:

http://YOURSITEADDRESS/api/elmah.axd/test

after entering the url browse back to:

http://YOURSITEADDRESS/api/elmah.axd

to see the error in the logging history:

More global elmah info here: https://code.google.com/p/elmah/wiki/DotNetSlackersArticle

Development

  • [Setup your environment](Run Locally)

Deployment

  • [Configure Authentication](Configure Authentication)
  • [Azure VSTS Deployment](Azure VSTS Deployment)

User Guide

Clone this wiki locally