Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Who knows about org.apache.log4j.NDC?

 
Amandeep Singh
Ranch Hand
Posts: 850
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Paul Clapham
Sheriff
Posts: 21315
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 850
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I agree with you.

Honestly I never read the full tutorial.
 
Amandeep Singh
Ranch Hand
Posts: 850
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 21315
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic