Java应用日志框架:TNT4J
TNT4J是一个改进Log4J新的开源Java应用日志框架。用于应用程序活动的跟踪、相关性检查、诊断,可以跨多个应用程序,运行时,服务器,地理的位置。这个API是专门用以解决分布式,并发,多线程,多用户应用,包括活动的相关性,应用程序的状态转储,性能和用户定义的量度。
以下是它的特性:
- Simple programming model to facilitate fast root-cause, log analysis
- Automated timing of application activities and sub-activities (elapsed, idle time, message age)
- Application state dump framework for reporting internal variables, data structures
- Granular conditional logging based on application tokens, patterns, that can be shared accross applications, runtimes
- Share logging context across application, thread, runtime boundaries
- Inter-log correlation of log entries (correlators and tags) between multiple related applications
- Intra-log correlation of related activities and sub-activities between multiple applications and threads
- Event location tags such as GPS, server etc.
- Message flow direction for composite applications that exchange messages (e.g. SOAP, JMS, and SQL etc.)
- User defined properties such as CPU, memory logging, thread statistics per process/thread
- Extensible activity, sink, error listeners for pre, post event processing
- Granular context such as thread id, process id, server, application name
本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!