473,396 Members | 2,061 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,396 software developers and data experts.

Log4Next vs Enterprise Library Log AppBlock

I am coupling an object for logging in our app...
Ive seen Log4Next is indeed a good choice, besides being free...
On the other hand, there seems to be a proven platform for log avaliable in
EntLibrary App Block.

Any suggestions, opinions or ideas what could be a better choice (other
providers may be acceppted hehe)..

Tanks!!!
Jul 27 '06 #1
7 3473
Bruce One wrote:
I am coupling an object for logging in our app...
Ive seen Log4Next is indeed a good choice, besides being free...
On the other hand, there seems to be a proven platform for log avaliable in
EntLibrary App Block.

Any suggestions, opinions or ideas what could be a better choice (other
providers may be acceppted hehe)..
There is also NLog: http://www.nlog-project.org/. Its free even for
commercial purposes, easily configurable (unlike log4net, IMHO) and very
performant. Definitely worth giving it a try.

Best regards!
Marcin
Jul 27 '06 #2
Why is it better than Log4Net and EntLibrary?

"Marcin Hoppe" wrote:
Bruce One wrote:
I am coupling an object for logging in our app...
Ive seen Log4Next is indeed a good choice, besides being free...
On the other hand, there seems to be a proven platform for log avaliable in
EntLibrary App Block.

Any suggestions, opinions or ideas what could be a better choice (other
providers may be acceppted hehe)..

There is also NLog: http://www.nlog-project.org/. Its free even for
commercial purposes, easily configurable (unlike log4net, IMHO) and very
performant. Definitely worth giving it a try.

Best regards!
Marcin
Jul 27 '06 #3
Marcin Hoppe wrote:
Bruce One wrote:
I am coupling an object for logging in our app...
Ive seen Log4Next is indeed a good choice, besides being free...
On the other hand, there seems to be a proven platform for log avaliable in
EntLibrary App Block.

Any suggestions, opinions or ideas what could be a better choice (other
providers may be acceppted hehe)..

There is also NLog: http://www.nlog-project.org/. Its free even for
commercial purposes, easily configurable (unlike log4net, IMHO) and very
performant. Definitely worth giving it a try.

Best regards!
Marcin
I have had huge succes with Log4Net and the performance is amazing. I'm
using it in a Winforms app that performs realtime communications with
remote embedded devices and it's been flawless. Log4Net is extremely
flexible which - as Marcin has pointed out - makes the learning curve a
little steaper than necessary and the configuration can be daunting if
you don't understand the object model. That said, the documentation is
getting better everyday and the contributors are really good about
responding to posts on the mail list. I've yet to post a question that
didn't get an answer - and I've had some tough questions. Log4Net is
also free to embed in commercial apps.

I don't have much experience with the other two loggers mentioned
(other than initial investigation) but once I figured out how to
configure l4n the way I wanted, I never looked back. For me I look at
it this way: Performance + Flexiblity + Great Support + FREE = Winner!

Cheers
Dinsdale

Jul 27 '06 #4
Well Log4Net is surely better than EntLibrary, as I could notice in all of
the sites Ive been to...people range from hating to being neutral concerning
EntLibrary Log...
But...I am kind of confused now, since NLog (which is based on Log4Net)
seems to fulfill all needs and looks easier to configure and start using, as
well as to mantain...both Log4Net and NLog seem to be equally performatic as
well...
Jul 27 '06 #5
Bruce One wrote:
Why is it better than Log4Net and EntLibrary?
Well, it is easier to configure than log4net. The author claims that it
performs more or less like log4net.

As for EntLib, I came across an opinion that the purpose of this library
is somewhat different. It is aimed at writing log messages about
unexpected or unusual events (usually with low frequency) to targets
like Event Log, which doesn't really put big requirements on
performance. Log4net and NLog are meant to log *trace* of the
application, that is, write down everything an application does. That
can be really lots of data sometimes and this puts big requirements on
performance and flexibility.

Best regards!
Marcin
Jul 28 '06 #6

Bruce One wrote:
Well Log4Net is surely better than EntLibrary, as I could notice in all of
the sites Ive been to...people range from hating to being neutral concerning
EntLibrary Log...
But...I am kind of confused now, since NLog (which is based on Log4Net)
seems to fulfill all needs and looks easier to configure and start using, as
well as to mantain...both Log4Net and NLog seem to be equally performatic as
well...

I guess you've made your decision then. :)

Cheers
Dinsdale

Jul 28 '06 #7
Bruce One wrote:
NLog (which is based on Log4Net)
One more thing: this is not exactly true. NLog and log4net don't share
even a single line of code!

Best regards!
Marcin
Jul 31 '06 #8

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

Similar topics

8
by: poifull | last post by:
Is anyone using the Microsoft Enterprise Library? If yes, do you like it or not? Any feedback will be appreciated.
3
by: veera sekhar kota | last post by:
hi, im seriously looking for right answer .... We are developing windows application in c#. I implemented DAAB(Data Access Application Block) 2.0 in our application. One of the senior asked...
0
by: veera sekhar kota | last post by:
im seriously looking for right answer .... We are developing windows application in c#. I implemented DAAB(Data Access Application Block) 2.0 in our application. One of the senior asked me to...
0
by: veera sekhar kota | last post by:
im seriously looking for right answer .... We are developing windows application in c#. I implemented DAAB(Data Access Application Block) 2.0 in our application. One of the senior asked me to...
2
by: bjhogan | last post by:
Hi, I have built an c# asp.net application on my laptop, it uses the Enterprise Library blocks - Data Access Application Block, Configuration Application Block. I now want to deploy my...
7
by: galico | last post by:
Hi All, We are having a very strange problem with the above. We have designed an application in ASP.NET 2.0 that uses the enterprise library data application blocks amongst others. We seem to be...
7
by: rockdale | last post by:
hi, I just downloaded Microsoft Enterprise Library Jan 2006 and try to integrate it into my asp.net application. As i am going to connect to mySQL database, I need to include the source code in my...
1
by: GaryDean | last post by:
I now have installed (from the same install) Enterprise Library - January 2006 and Enterprise Library - June 2005. The install for these two was called Enterprise Library for .Net 2.0. (not...
0
by: sebor | last post by:
October 29, 2007 -- The Apache C++ Standard Library project is pleased to announce that the official stdcxx 4.2.0 release is now available for download from the following location:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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,...

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.