Use JRas APIs in your applications to create useful diagnostic runtime traces.
在您的应用程序中使用JRasAPI创建有用的诊断运行时跟踪。
This article will focus on the JRas APIs required to create diagnostic traces.
本文将集中讨论创建诊断跟踪所需的JRasAPI。
To generate information in diagnostic traces, user applications must use the JRas trace APIs.
要在诊断跟踪中生成信息,用户应用程序必须使用JRas跟踪API。
The bold parameters in Listing 1 are strings identifying the new logger objects to the JRas system.
清单1中粗体的参数是用于在JRas系统中标识新日志记录器对象的字符串。
In addition to creating diagnostic traces, the JRas APIs can be used to create custom activity (service) logs.
除了创建诊断跟踪,JRasAPI还可以用于创建用户活动(服务)日志。
This article has illustrated how to add basic JRas trace functionality to your WebSphere enterprise applications.
本文阐述了如何向您的WebSphere企业应用程序添加基本的JRas跟踪功能。
When adding a significant number of JRas calls to your application, you'll want to consider the effects on performance.
向您的应用程序添加大量的JRas调用时,您就需要考虑对性能的影响。
Be sure to see the WebSphere InfoCenter for information on additional trace operations, as well as how to extend the JRas system itself.
请务必参阅WebSphere信息中心获取关于附加的跟踪操作以及如何扩展JRas系统自身的信息。
Adding JRas logging to all an application's classes allows WebSphere administrators to conveniently generate trace files documenting problems that arise.
把JRas日志记录添加到一个应用程序的所有类中,WebSphere管理员就可以方便地生成跟踪文件,用它记录出现的问题。
This time, when you run MyEnterpriseServlet, useful diagnostic trace information will appear in the trace logs based on your use of the JRas APIs in the MyEnterprise application.
这一次,当您运行MyEnterpriseServlet 时,有用的诊断跟踪信息将出现在跟踪日志中,这些跟踪日志基于MyEnterprise应用程序中对JRasAPI的使用。
This time, when you run MyEnterpriseServlet, useful diagnostic trace information will appear in the trace logs based on your use of the JRas APIs in the MyEnterprise application.
这一次,当您运行MyEnterpriseServlet 时,有用的诊断跟踪信息将出现在跟踪日志中,这些跟踪日志基于MyEnterprise应用程序中对JRasAPI的使用。
应用推荐