Translate

понеділок, 15 липня 2013 р.

Comparison of Java Logging Frameworks and Libraries


Please note that the comparison of the different frameworks is a work in progress. If you believe that we missed an important feature or that we got one of the details wrong, please let us know.

SmartInspectlog4jLogbackObjectGuy Framework
LicenseCommercialApacheLGPLCustom
Source availableYesYesYesYes
VendorGurockApacheQOS-
WebsiteLinkLinkLinkLink
Basic FeaturesSmartInspectlog4jLogbackObjectGuy Framework
Logging simple text messages YesYesYesYes
Log levels to filter messages Debug
Verbose
Message
Warning
Error
Fatal
Debug
Trace
Info
Warn
Error
Fatal
Debug
Trace
Info
Warn
Error
Debug
Info
Status
Warning
Error
Critical
Fatal
Multiple connections or targets YesYesYesYes
Log categories or sessions YesYesYesLimited
Log file rotation by date/time YesYesYesNo
Log file rotation by size YesYesYesNo
Log file rotation max parts YesYesYesNo
Optional configuration files YesYesYesNo
Advanced FeaturesSmartInspectlog4jLogbackObjectGuy Framework
Logging objects and arrays YesYesNoNo
Logging complex structures and binary data YesNoNoNo
Thread-safe logging YesYesYes?
Tracing method invocation YesText-onlyText-onlyText-only
Logging variable values YesText-onlyText-onlyText-only
Watching variable valuesYesNoNoNo
Logging thread and process behavior YesNoNoNo
Advanced protocols and connections Network
Named Pipe1)
Memory
Binary Files
Custom
Network
JMS
Database
Custom
Network
JMS
Database
Custom
Network
Memory
Custom
Advanced protocol options Buffer
Reconnect
Interval
Encryption
BufferBuffer
Reconnect
Interval
No
Asynchronous logging and backlog queues YesAsync-onlyNoNo
Log server application YesNoNoNo
Graphical ViewerSmartInspectlog4jLogbackObjectGuy Framework
Graphical viewer application Yes1)YesNoNo
Advanced filtering capabilities YesNoNoNo
Navigation functionality YesLimitedNoNo
Call stacks, graphs and message details YesNoNoNo
Multiple views or windows YesLimitedNoNo
Live monitoring via network or pipes YesYesNoNo
Viewing and inspecting application data YesNoNoNo
Graphical configuration utility YesNoNoNo
Documentation & SupportSmartInspectlog4jLogbackObjectGuy Framework
Getting started tutorialsYesYesYesYes
Online articles / advanced topicsYesYesYesNo
API ReferenceYesYesYesYes
Community supportYesYesYesNo
Professional / priority supportYesNoYesNo
1) Only available on the Windows platform