Java logging framework: Difference between revisions

Content deleted Content added
tidy lede
Line 72:
==Comparing features==
 
{| class="wikitable"
{| border=1
|! ''Feature''
|! ''[[Log4J]]''
|! ''Java Logging API''
|! ''Jakarta Commons Logging''
|-
| Supported log levels
| FATAL ERROR WARN INFO DEBUG TRACE
| SEVERE WARNING INFO CONFIG FINE FINER FINEST
| FATAL ERROR WARN INFO DEBUG TRACE
|-
| Standard Appendersappenders
| AsyncAppender, JDBCAppender, JMSAppender, LF5Appender, NTEventLogAppender, NullAppender, SMTPAppender, SocketAppender, SocketHubAppender, SyslogAppender, TelnetAppender, WriterAppender
| Depends on the underlying framework
Default Sun JVM implementation has the following: ConsoleHandler, FileHandler, SocketHandler, MemoryHandler
| Depends on the underlying framework
|-
| Popularity
|Popularity{{Fact|date=November 2007}}
| Widely used in many project and platforms
| Few
|few
|many Many, in conjunction with log4j
|-
| Cost/Licence
|Apache License, Version 2.0
|Comes with the JRE
|Apache License, Version 2.0
|-
| Cost /Licence licence
| Apache License, Version 2.0
| Comes with the JRE
| Apache License, Version 2.0
|}