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 </ul>
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!