Java logging framework: Difference between revisions

Content deleted Content added
Comparing features: start again
Line 72:
==Comparing features==
 
{| border=1
{| class="wikitable"
!| ''Feature''
! Framework
| ''[[Log4J]]''
! Feature
| ''Java Logging API''
! Supported log levels
| ''Jakarta Commons Logging''
! Standard appenders
! Popularity
|-
!| Supported log levels
| [[Log4J]]
| FATAL ERROR WARN INFO DEBUG TRACE
| SEVERE WARNING INFO CONFIG FINE FINER FINEST
| FATAL ERROR WARN INFO DEBUG TRACE
|-
! |Standard appendersAppenders
| Java Logging API
| 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{{Fact|date=November 2007}}
| Jakarta Commons Logging
| Widely used in many project and platforms
|few
| Few
| Manymany, in conjunction with log4j
|-
| Cost / licenceLicence
| Apache License, Version 2.0
| Comes with the JRE
| Apache License, Version 2.0
|-
| Cost / licence
| Apache License, Version 2.0
| Comes with the JRE
| Apache License, Version 2.0
|}