473,385 Members | 1,429 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,385 software developers and data experts.

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 6910
On Jun 2, 6:49 pm, Anup Daware <anup.daw...@gmail.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...@gmail.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
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...
0
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...
6
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...
0
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...
1
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...
0
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...
0
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...
0
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...
0
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...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.