Submit Content

Sponsor



Results


ASP.NET: How To: Configure the Enterprise Library 3.1 Logging Application Block to log the local server time

The Enterprise Library Logging Application Block by default will log the timestamp in UTC time. In the Enterprise Library ver 3.0 and earlier, if you wanted it log the local server time, you can override the FormatToken method and implement you you custom logic. If you use the Enterprise Library 3.1, this is a very easy change which we will describe in this article.

0 Comments   Posted by LazyAssCoder on Nov 21, 2007   2928 Views