Monday 15 July 2013

logging - ServiceStack EventLog Always prints "An error occurred in the application:" -


Always when I use an event, the first string of my content is the printed string "There was an error in the application:"

Why? What should I change?

For example this code:

  var logger = LogManager.GetLogger (GetType ()); Logger.Info ("uphost up and running");   

ends in:

Image Details Here Enter

The error message is created in ServiceStack's

You can use your own copy and how to configure it, or you can submit a pull-request to configure an error message in Event Logger.

No comments:

Post a Comment