There is a new tool called "google" that lets you search the web for stuff. It's pretty powerful, you should try it. The first link it show you is the log4j home page which has descriptions and sample code.
<a href="http://forums.hotjoe.com/forums/list.page" target="_blank" rel="nofollow">Java forums using Java software</a> - Come and help get them started.
yeh definately google is there, but i thought it would be good for me if some one who has used it and would share his knowledge thats why i thought to ask some help from gurus
Commons logging is a wrapper around either log4j or java.util.logging. It's goal is to make the two interchangable (pluggable) in an app. It's not an actual logging package.