tfsaggregator / tfsaggregator-webhooks

WARNING: the team is no more maintaing this version. See aggreggator-cli instead.
https://github.com/tfsaggregator/aggregator-cli
19 stars 22 forks source link

Unable to Capture Errors in EventViewer #3

Closed hagan01989 closed 5 years ago

hagan01989 commented 7 years ago

I am using WebHooks 2.3 Beta I am unable to see any events from TFSAggregator in EventViewer when using an account that has permission to write to the event log, and when deployed in debug configuration. Nothing showing up on Dbgview as well. Nothing in C:\Log default log location either. Trying to troubleshoot the below error and unable to without anything in logging. This is installed on an on-prem server, not Azure.

Status Code: 500 Reason Phrase: Internal Server Error HTTP Version: 1.1 Headers: { Cache-Control: private Date: Wed, 19 Apr 2017 16:06:54 GMT Server: Microsoft-IIS/8.0 X-Powered-By: ASP.NET Content-Length: 4715 Content-Type: text/html; charset=utf-8 }

giuliov commented 7 years ago

We have not reviewed the Logging documentation page to match the Web Service version, sorry.

Logging for Web Service is different from the Server Plugin: everything is routed to .NET tracing infrastructure. You need to edit the web.config and add/edit the system.diagnostics section. In case you want to direct the logging to the Event Log look at the EventLogTraceListener, but I expect to see messages in the debug output.

mbendtsen commented 6 years ago

Was this ever fixed? I have the same issue with the same error message.

I have added this to Web.Config: `

</system.diagnostics>`

The file is created, but it is empty.

giuliov commented 6 years ago

Messages are lazy-written with autoflush="false", which is good for a production environment. To debug/troubleshoot use true.