0

I am building a mid-sized standalone console based java application and I must log various events that can take place. I am not sure about which API to use. I have looked upon Logback Project and log4j. I am concerned if these are the right one, since both of the seem to have extensive uses in the web application projects. Please help me decide if I am better using the default java.util.logging API or should I use another frameworks; if so which one.

Thanks!

codeMan
  • 5,730
  • 3
  • 27
  • 51

1 Answers1

3

I recommend slf4j.(it's written by the same guy who did log4j) You can read more from here

Drogba
  • 4,186
  • 4
  • 23
  • 31