473,800 Members | 2,525 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Enterprise Library Logging Application Block Basics

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 implementation of logging
application block?
Is buffered writing is supported by this block?
Does it write synchronously or asynchronously to the specified
destination?
Like, let's say I am writing the log in the database then do I have to
wait for completion of logging process or it is done asynchronously,
so does my current thread do this for me or logging is handled by a
separate thread?
Any other benefits I get by using the logging application block?
Why shouldn't I for Log4Net of my own logger and use the enterprise
library Logging Application Block?

Any clue or even a link addressing these issues will be a great help

Thanks,
Anup Daware

Jun 2 '07 #1
2 6935
On Jun 2, 6:49 pm, Anup Daware <anup.daw...@gm ail.comwrote:
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 implementation of logging
application block?
Is buffered writing is supported by this block?
Does it write synchronously or asynchronously to the specified
destination?
Like, let's say I am writing the log in the database then do I have to
wait for completion of logging process or it is done asynchronously,
so does my current thread do this for me or logging is handled by a
separate thread?
Any other benefits I get by using the logging application block?
Why shouldn't I for Log4Net of my own logger and use the enterprise
library Logging Application Block?

Any clue or even a link addressing these issues will be a great help

Thanks,
Anup Daware
Nice tutor on codeproject:
http://www.codeproject.com/dotnet/Ge...WithEntLib.asp

Sample from Gotdotnet:
http://www.gotdotnet.com/Community/U...b-93ec8ff1e5ae

Other links:
http://blog.hishambaz.com/archive/2005/01/30/202.aspx
http://blog.hishambaz.com/archive/2005/02/05/253.aspx
http://blog.hishambaz.com/archive/2005/02/14/317.aspx
http://www.codeproject.com/dotnet/Ge...WithEntLib.asp
http://codebetter.com/blogs/david.ha.../17/59974.aspx
http://staff.southworks.net/blogs/ma...5/03/24/6.aspx
http://weblogs.asp.net/cumpsd/archiv...09/397833.aspx
This link gives comparison - Log4Net and Logging library:
http://weblogs.asp.net/lorenh/archiv...18/376191.aspx

Hope this helps.
Good Luck!

Jun 2 '07 #2
Hi Aneesh,

Thank you very much for the links.
Please follow following link, there I have raised few concerns
regarding this Issue, please let me know if you have anything to add
on this.
http://www.codeplex.com/entlib/Threa...ThreadId=11300

Thanks,
Anyp

On Jun 3, 12:56 am, Aneesh P <anees...@gmail .comwrote:
On Jun 2, 6:49 pm, Anup Daware <anup.daw...@gm ail.comwrote:
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 implementation of logging
application block?
Is buffered writing is supported by this block?
Does it write synchronously or asynchronously to the specified
destination?
Like, let's say I am writing the log in the database then do I have to
wait for completion of logging process or it is done asynchronously,
so does my current thread do this for me or logging is handled by a
separate thread?
Any other benefits I get by using the logging application block?
Why shouldn't I for Log4Net of my own logger and use the enterprise
library Logging Application Block?
Any clue or even a link addressing these issues will be a great help
Thanks,
Anup Daware

Nice tutor on codeproject:http://www.codeproject.com/dotnet/Ge...WithEntLib.asp

Sample from Gotdotnet:http://www.gotdotnet.com/Community/U...aspx?SampleGui...

Other links:http://blog.hishambaz.com/archive/20...09/397833.aspx

This link gives comparison - Log4Net and Logging library:http://weblogs.asp.net/lorenh/archiv...18/376191.aspx

Hope this helps.
Good Luck!

Jun 12 '07 #3

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

Similar topics

1
8200
by: Ollie Riches | last post by:
I am trying to use asynchronous logging using MSMQ and I have configured the properties as defined in the help (see below) I don't understand where the property 'MsmqPath' is in the app.config for MSMQDistrbutor.exe is it meant to be an aplication settings or an enterprise library setting in the app.config? I have tried creating an application setting value for it but it still fails to write to the logging destination? Also is this...
0
2648
by: Benny Ng | last post by:
Hi,All, When i deploy Enterprise library with my application ,i used XCOPY to deploy it into my test server. But when application runs, shown some error related registry. (But actually I haven't any method or component to wrote registry) After I used "InstallUtil" to registry Enterprise Library (those DLLs) to the deployment server, the application runs smoothly. Now I wonder why i need to registry those Enterprise Library DLLs into
6
1950
by: Jonathan Crawford | last post by:
Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) +473 Hi I have installed the enterprise library on a development machine and created a project on our webserver. When I run a simple data access page I get an error message. Apparently
0
5014
by: Eniac | last post by:
Hello, I've started using Enterprise Library 2.0 recently and I've encountered a problem that seems to be ... well... undocumented :) Basically, when I set a Trace Listener (formatted event log to be precise), if i specify the name of a custom event log, the listener won't log in it. I've checked in the registry, the log is there. In the event viewer, I
1
3565
by: sreedharv | last post by:
Log4Net vs Enterprise Library - Logging Application Block Please list or point to the comparison. My requirements are: - 50 to 70 web servers - Track Machine name - Extract class / method name irrespective of the info type - debug, trace, exception and more - Incoming bad links
0
967
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 implementation of logging application block? Is buffered writing is supported by this block? Does it write synchronously or asynchronously to the specified destination? Like, let's say I am writing the log in the database then do I have to
0
4612
by: =?Utf-8?B?YW5rMmdv?= | last post by:
Hi, Thanks in advance for reading this. Not sure where to post this question, but I hope someone in here can help. Trying to write to Event Log in VS 2005 (.NET 2.0) using Enterprise Library 2.0 on a XP Pro SP2 Machine
0
1655
by: =?Utf-8?B?U2hyaWthbnQgTW9yZQ==?= | last post by:
Using enterprise library's 3.1 Logging Application Block , how can i get the custom source name in the windows event log.When ever i am logging an error in windows event log , it gives the source name as Enterprise Library Logging.I want my custom source name instead of Enterprise Library Logging.Also how can i get the username and category also, through Logging Application Block.
0
2198
by: srizzler | last post by:
Hi All: I am trying to implement Exception Handling using Enterprise Library 3.1's Exception Handling Application Block as well as Logging Blocks. I have a windows application developed in VB.Net (Visual Studio 2005) which have three tiers: User Interface Business Logic Data Layer
0
9695
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9555
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10287
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9099
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6826
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5479
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4156
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3770
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2956
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.