diff --git a/web/nlog.config b/web/nlog.config index 43d03f1..8c7d23d 100644 --- a/web/nlog.config +++ b/web/nlog.config @@ -33,41 +33,39 @@ - - + html="true" + addNewLines="true" + replaceNewlineWithBrTagInHtml="true" + subject="@SDP@ VIPER Error: ${aspnet-Request-Url}: ${machinename} ${date}" + to="svmithelp@ucdavis.edu" + from="bsedwards@ucdavis.edu" + body="<b>User Info:</b>${newline} + Severity: ${uppercase:${level}}${newline} + User Identity: ${aspnet-User-Identity} ${newline} + Client IP: ${aspnet-Request-IP}${newline} + Method: ${aspnet-Request-Method}${newline} + Url: ${aspnet-Request-Url}${newline} + QueryString: ${aspnet-Request-QueryString}${newline} + Referrer: ${aspnet-Request-Referrer}${newline} + UserAgent: ${aspnet-Request-UserAgent}${newline}${newline} + <b>Exception:</b>${newline} + Message: ${message}${newline} + Source: ${logger}${newline} + Stack: ${exception:format=tostring,Data:maxInnerExceptionLevel=10} + @@SITE=SVM@@ + @@CATEGORY=Web Apps@@ + @@SUBCATEGORY=VIPER@@ + @@STATUS=In Progress@@ + @@GROUP=Administrative Applications@@ + @@REQUESTER=VIPER AUTOSUBMIT@@ + @@TECHNICIANEMAIL=bsedwards@ucdavis.edu@@" + /> @@ -103,7 +101,8 @@ - + +