By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,368 Members | 1,701 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,368 IT Pros & Developers. It's quick & easy.

Enterprise Library Logging Application Block Basics

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.