Java应用日志框架 TNT4J

码农软件 · 软件分类 · 日志工具(Logging) · 2019-09-20 18:28:04

软件介绍

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

1. 不需要写 "logger.isDebugEnabled()"

2. can log based on filter (e.g wait time longer than certain value)

3. share logging context across apps. 调用路径信息串联起来

4. logging statistics关于日志的统计信息

本文地址:https://www.codercto.com/soft/d/15030.html

技术之瞳——阿里巴巴技术笔试心得

技术之瞳——阿里巴巴技术笔试心得

阿里巴巴集团校园招聘笔试项目组 / 电子工业出版社 / 2016-11 / 69

《技术之瞳——阿里巴巴技术笔试心得》由阿里巴巴集团校园招聘笔试项目组所著,收集了阿里历年校招中的精华笔试题,涉 及多个领域。《技术之瞳——阿里巴巴技术笔试心得》中内容大量结合了阿里巴巴的实际工作场景,以例题、解析、习题的形式,引 导读者深入理解技术上的关键点、紧要处,夯实基础,启发思考。《技术之瞳——阿里巴巴技术笔试心得》内容不仅专业、有趣,更 是将理论知识与实践应用结合起来,以场景化的问答娓娓道......一起来看看 《技术之瞳——阿里巴巴技术笔试心得》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试