Logging Application Block

G

Guest

Please let me know if there's a better place to ask about this.

I'm helping out with an application that uses Microsoft's Logging
Application Block. Users complain that timestamps in the log file are not in
local time (they appear to be in UTC). I found the <formatters> tag in
app.config, and added " in UTC" to the text:

<formatters>
<add template="Timestamp in UTC: {timestamp}
Message:

The problem is that I don't see the " in UTC" in the log file. Any
suggestions on updating to somehow signal the user that the time is in UTC?

Thanks,
Randy
 
A

Alvin Bruney [MVP]

There is an enterprise library newsgroup that you should post to, you may
find better help there.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley
 
G

Guest

Thanks for the reply. Could you be more specific on which managed newsgroup?

Randy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top