Java应用日志框架 TNT4J
- 授权协议: GPL
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: https://github.com/Nastel/TNT4J
- 软件文档: https://github.com/Nastel/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
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关于日志的统计信息
Python Cookbook
Alex Martelli、Anna Ravenscroft、David Ascher / 高铁军 / 人民邮电出版社 / 2010-5-1 / 99.00元
本书介绍了Python应用在各个领域中的一些使用技巧和方法,从最基本的字符、文件序列、字典和排序,到进阶的面向对象编程、数据库和数据持久化、 XML处理和Web编程,再到比较高级和抽象的描述符、装饰器、元类、迭代器和生成器,均有涉及。书中还介绍了一些第三方包和库的使用,包括 Twisted、GIL、PyWin32等。本书覆盖了Python应用中的很多常见问题,并提出了通用的解决方案。书中的代码和方......一起来看看 《Python Cookbook》 这本书的介绍吧!
