Java logging framework: Difference between revisions

Content deleted Content added
Comparing features: start again
Line 70:
* bit-bucket (/dev/null)
 
{| class="wikitable"
==Comparing features==
|+ '''Comparison of features'''
 
! Framework
{| border=1
|! Supported log levels
| ''Feature''
|! Standard Appendersappenders
| ''[[Log4J]]''
! Popularity
| ''Java Logging API''
|! Cost/Licence
| ''Jakarta Commons Logging''
|-
| ''[[Log4J]]''
| Supported log levels
| FATAL ERROR WARN INFO DEBUG TRACE
| AsyncAppender, JDBCAppender, JMSAppender, LF5Appender, NTEventLogAppender, NullAppender, SMTPAppender, SocketAppender, SocketHubAppender, SyslogAppender, TelnetAppender, WriterAppender
|SEVERE WARNING INFO CONFIG FINE FINER FINEST
| Widely used in many project and platforms
|FATAL ERROR WARN INFO DEBUG TRACE
| Apache License, Version 2.0
|-
| ''Java Logging API''
|Standard Appenders
| SEVERE WARNING INFO CONFIG FINE FINER FINEST
|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
| Not widely used
Default Sun JVM implementation has the following: ConsoleHandler, FileHandler, SocketHandler, MemoryHandler
| Comes with the JRE
|Depends on the underlying framework
|-
|Popularity{{Fact|date=November 2007}}
|Widely used in many project and platforms
|few
|many, in conjunction with log4j
|-
| Cost/Licence
|Apache License, Version 2.0
|Comes with the JRE
|Apache License, Version 2.0
|-
| ''Jakarta Commons Logging''
| FATAL ERROR WARN INFO DEBUG TRACE
| Depends on the underlying framework
| Used by many, in conjunction with log4j
| Apache License, Version 2.0
|}