Tag Archives: logging

Add tracelistener with powershell

In our deployment script we automate the installation and configuration of our product. For Development and Test environment we want to log everything to a file. The powershell script below takes care of adding TextWriterTraceListener to the trace listeners. The … Continue reading

Posted in Development | Tagged , , | Leave a comment

Trace to Windows EventLog

In dotNET we use the System.Diagnostics.Trace and some TraceListerner implementation to log information, warnings and errors. My applications use the Windows Eventlog with the EventLogTraceListener. But what if your custom EventSource is not available and your user has no administrative … Continue reading

Posted in Development | Tagged , , , , , , | Leave a comment