以下是它的特性:
Simpleprogrammingmodeltofacilitatefastroot-cause,loganalysis
Automatedtimingofapplicationactivitiesandsub-activities(elapsed,idletime,messageage)
Applicationstatedumpframeworkforreportinginternalvariables,datastructures
Granularconditionalloggingbasedonapplicationtokens,patterns,thatcanbesharedaccrossapplications,runtimes
Shareloggingcontextacrossapplication,thread,runtimeboundaries
Inter-logcorrelationoflogentries(correlatorsandtags)betweenmultiplerelatedapplications
Intra-logcorrelationofrelatedactivitiesandsub-activitiesbetweenmultipleapplicationsandthreads
EventlocationtagssuchasGPS,serveretc.
Messageflowdirectionforcompositeapplicationsthatexchangemessages(e.g.SOAP,JMS,andSQLetc.)
UserdefinedpropertiessuchasCPU,memorylogging,threadstatisticsperprocess/thread
Extensibleactivity,sink,errorlistenersforpre,posteventprocessing
Granularcontextsuchasthreadid,processid,server,applicationname
1.不需要写"logger.isDebugEnabled()"
2.canlogbasedonfilter(e.gwaittimelongerthancertainvalue)
3.shareloggingcontextacrossapps.调用路径信息串联起来
4.loggingstatistics关于日志的统计信息
评论