473,395 Members | 1,681 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Logging Application Block

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 <formatterstag 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
May 1 '07 #1
2 3654
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
"randy1200" <ra*******@discussions.microsoft.comwrote in message
news:61**********************************@microsof t.com...
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 <formatterstag 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

May 3 '07 #2
Thanks for the reply. Could you be more specific on which managed newsgroup?

Randy

"Alvin Bruney [MVP]" wrote:
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
"randy1200" <ra*******@discussions.microsoft.comwrote in message
news:61**********************************@microsof t.com...
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 <formatterstag 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


May 3 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ayende Rahien | last post by:
I'm more than a little bit confused regarding logging & exception handling. To start with, I want to use a single point in my applications for logging and possibly for exception handling. My...
0
by: Joe Bloggs | last post by:
Hi all, I take the pleasure to inform that Dotnet Commons Logging has been released for use. Dotnet Commons Logging, a subproject of the Donet Commons project currently located under the...
3
by: Karuppasamy | last post by:
Hi I am trying to use the Logging Module provided by Microsoft Application Blocks for .Net . I installed everything as per the Instructions given in the 'Development Using the Logging Block'. ...
16
by: Einar Høst | last post by:
Hi, I'm getting into the Trace-functionality in .NET, using it to provide some much-needed logging across dlls in the project we're working on. However, being a newbie, I'm wondering if some...
7
by: amitos | last post by:
Hi! I consider using the Logging Application Block, Enterprise Library, Jan 2006 in a major project. To date, I've found that some of its features are not very well documented. One important...
3
by: Dick | last post by:
How do I integrating ASP.NET Tracing with the Enterprise Library Logging Application Block? I guess this should be possible and in a similar way to the way ASP.NET Tracing is integrated with...
0
by: rajesh.hanchate | last post by:
Please help me in resolving this issue. I am using EnterpriseLibrary 2.0 Exception and logging block for logging exceptions to event log. It works fine for sometime. After some time it stops...
0
by: Raymond Roelands | last post by:
It seems that it's not possible to have nested .Net web applications (application in a virtual directory under another asp.net application) having each application it's own configuration for the...
2
by: Anup Daware | last post by:
Hi Group, Can somebody tell me where I can find the internals of Logging application block 2.0/3.0. I need answers for the questions like: What best practices have followed in the...
1
by: arunairs | last post by:
Hi, Using the EnterpriseLibrary 4.0, is it possible to Log the method name in the log file. I have it cofigured thus: <loggingConfiguration name="Logging Application Block"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.