Now the app.config is like
Id #50 | Release:
| Updated: Feb 14 at 9:42 AM by zijianhuang | Created: Feb 14 at 9:42 AM by zijianhuang
In console app, it crashes when trying to locate directory.
In Web app, it crashes on Windows 7 failing respective Web functions; and in Windows Server 2016, respective Web functions still work, ...
Id #49 | Release:
| Updated: Feb 14 at 9:28 AM by zijianhuang | Created: Feb 14 at 1:46 AM by zijianhuang
Compare features and performance of Serilog.
Also add .Net Framework variant using the fluent interface, to see what effect it has on performance.
Also update other frameworks to latest version.
Id #48 | Release:
| Updated: Mar 14, 2016 at 12:05 AM by sgryphon | Created: Mar 14, 2016 at 12:05 AM by sgryphon
Fluent interfaces are popular, although personally I don't think there is such a huge difference between _source.TraceEvent(TraceEventType.Verbose, 0, "message") and _log.Verbose("message"), but I ...
Id #47 | Release:
| Updated: Mar 14, 2016 at 12:03 AM by sgryphon | Created: Mar 14, 2016 at 12:03 AM by sgryphon
Currently, the number of concurrent instances of a program that's trying to use a rolling log at a given path is 5, since the running instances will lock the files log.txt, log-1.txt, log-2.txt, th...
Id #43 | Release:
| Updated: Dec 7, 2015 at 3:54 PM by jmanning | Created: Dec 7, 2015 at 3:54 PM by jmanning
"Cannot write to a closed TextWriter" error when used in ASP.Net app (ObjectDisposedException)
This issue does not manifest itself immediately but after some time. M.b. related to muddleheaded wri...
Id #40 | Release:
| Updated: Mar 13, 2016 at 11:58 AM by sgryphon | Created: Aug 21, 2014 at 4:59 PM by stasberkov
Symptom: Intermittent failure of email listener to send email, even when flooding control is turned off.
Cause: The email listener is asynch, which just dies when invoked from the context of an A...
Id #39 | Release:
| Updated: May 8, 2015 at 7:31 AM by zijianhuang | Created: Aug 8, 2014 at 3:32 PM by matthewdeanmartin
For trace listeners in System.Diagnostics listed here, create links to MSDN. This will be more friendly to system administrators who may not have VS F1.
Id #38 | Release:
| Updated: Mar 13, 2016 at 11:55 PM by sgryphon | Created: Jun 2, 2014 at 12:54 AM by zijianhuang
The config template has items like the following
Id #37 | Release:
| Updated: Jun 1, 2014 at 1:02 AM by sgryphon | Created: May 30, 2014 at 5:35 AM by zijianhuang
public ConsoleColor GetConsoleColor(TraceEventType eventType)
var key = eventType.ToString() + "Color";
var setting = Attributes[key];
Id #36 | Release:
| Updated: Mar 13, 2016 at 11:49 PM by sgryphon | Created: May 30, 2014 at 3:38 AM by zijianhuang