File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes  Who knows about org.apache.log4j.NDC? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark " Who knows about org.apache.log4j.NDC?" Watch " Who knows about org.apache.log4j.NDC?" New topic
Author

Who knows about org.apache.log4j.NDC?

Amandeep Singh
Ranch Hand

Joined: Jul 17, 2008
Posts: 844
I today realized NDC is such a useful feature logging utility, how come it so hidden or not common among developers or least better say there is already so good useful classes sitting out there, how do we know of it? If we don't know about it something useful sitting out there goes un noticed.

Do we know how to make us better to be able to find good stuff sitting out there in jar's?

One could answer dig in jar's. Something which is the last option.


SCJP 1.4, SCWCD 5, SCBCD 5, OCPJWSD 5,SCEA-1, Started Assignment Part 2
My blog- http://rkydesigns.blogspot.com
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18651
    
    8

I knew about the NDC, because it was covered in the tutorial about log4j. In other words, it isn't hidden at all, it's in plain view for anyone who reads the tutorial. And reading the tutorial should be the first option for anybody who wants to use the product, if there is one.

So that wasn't a good example of a hidden feature. But I would say that an open-source product which doesn't come with a tutorial, or an introduction, or a set of examples isn't a good product, and I'm sure you would agree with me.
Amandeep Singh
Ranch Hand

Joined: Jul 17, 2008
Posts: 844
Yes, I agree with you.

Honestly I never read the full tutorial.
Amandeep Singh
Ranch Hand

Joined: Jul 17, 2008
Posts: 844
Given the fact you have touched tutorial, do you start with the tutorial or book? Myself I always start with the book, because my understanding is book intent is present in clear format than tutorial. But hard to say doesn't mean we should ignore tutorials too.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18651
    
    8

It would depend on why I was using the product. If I was just using it because it was a dependency of some other product I needed, then probably the tutorial would be enough for me. Or if I was just using it because of one particular feature which I needed. I would read the book if the product was my primary focus and I expected the project to last several months.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Who knows about org.apache.log4j.NDC?