title: Choice of logging framework for open source java project
body: <p>Recently I published my open source <a href="https://github.com/menacher/java-game-server" rel="nofollow">java game server</a> code to github and faced the following dilemma "which logging should I use".I want my library to have most "ease of use" for end developer. I hope to create a pseudo-wiki out of this question so that others facing same issue can have a single point of reference.</p>
  
  <p>1) If your open source project is a simple java library, what are the options available for logging.<br>
  a. Use your own logging logic<br>
  b. Print to console,err<br>
  c. Use a library like log4j, slf4j etc<br>
  2) What are the best practices? Which one of the above is the general preference for open source libraries?<br>
  3) For some of the famous logging frameworks out there, like log4j, slf4j, commons-logging etc what are known issues that need to be considered while selecting it as your logging library.<br>
  4) Will my choice of logging framework impact another library which uses mine? Is there possibility of incompatibilities if I use a specific library?</p>
  
  <p>If you have some additional comments like "log only to console", "dont use logging" etc then please justify.</p>