I've defined some listeners in my app.config + adding traceOutputOptions with a DateTime. It's totally fit my needs of no extra package (log4net)/no extra config.
But the DateTime in the file are UTC ones which make then often hard to "quick read" & compare. Is there any way to force the output in localtime without overriding the default trace system ?
<trace autoflush="true" indentsize="4">
<listeners>
<add name="delimitedListener" type="System.Diagnostics.DelimitedListTraceListener" delimiter=";" initializeData="output.log" traceOutputOptions="DateTime">
<filter type="System.Diagnostics.EventTypeFilter" initializeData="Warning"/>
</add>
<add name="consoleListener" type="System.Diagnostics.ConsoleTraceListener"/>
<remove name="Default" />
</listeners>
</trace>