If a problem occurs during run time, turn on the appropriate trace switch.
如果在运行时出现问题,请打开相应的跟踪开关。
You can change the level of a trace switch by putting it in a configuration file.
您可以将追踪参数放在组态档中,以变更参数的层级。
In that case, you would use one trace switch for the data access module and one switch for the rest of the application.
这种情况下,可以将一个跟踪开关用于数据访问模块,而将另一个开关用于应用程序的其余部分。
Trace and debug Settings specify trace listeners that collect, store, and route messages, and the level where a trace switch is set.
跟踪和调试设置指定对消息进行收集、存储和路由的跟踪侦听器,并且还指定设置跟踪开关的级别。
You configure a trace switch to turn it on and off, or to set its level, determining the amount and type of messages it passes along to listeners.
通过配置跟踪开关,可以将其打开和关闭或设置其级别,以确定它向侦听器传递的消息量及消息类型。
One of several different types of filters can be assigned to a trace listener to provide a layer of screening beyond that provided by the trace switch.
您可以将多种不同类型筛选器的其中一种指定给追踪接听程式,以提供追踪参数所提供之筛检以外的另一层筛选。
The procedure does not switch trace off.
但是该过程不会将跟踪切换到关闭状态。
The -l switch prefixes each trace entry with the process ID, while the -d switch displays a timestamp relative to the start of the trace.
l开关在每个跟踪条目前面加上进程ID作为前缀,- d开关显示相对于跟踪起点的时间戳。
We can switch trace on using this form
我们可以使用这种形式开启跟踪功能
The example also shows the use of the -n switch, which prints numeric host addresses, thereby avoiding name lookup and resolution and speeding up the trace.
这个示例还演示-n选项的用途,它输出数字的主机地址,从而避免名称查询和解析,可以提高跟踪速度。
If you disable the switch, the trace messages will not appear.
如果禁用此开关,则不会显示跟踪消息。
In a deployed application, you enable trace code by reconfiguring switch objects when your application is not running.
在已部署的应用程序中,当应用程序未运行时,可以通过重新配置开关对象来启用跟踪代码。
In addition to configuring the trace listeners, the configuration file creates filters for both of the listeners and creates a source switch for the trace source.
除了配置跟踪侦听器外,配置文件还同时为这两个侦听器创建筛选器,并为跟踪源创建一个源开关。
Trace flags are used to temporarily set specific server characteristics or to switch off a particular behavior.
跟踪标志用于临时设置特定服务器的特征或关闭特定行为。
When your application executes the code that creates an instance of a switch for the first time, it checks the configuration file for trace-level information about the named switch.
当应用程序第一次执行建立参数执行个体的程序码时,会检查组态档是否有关于具名参数的追踪层级资讯。
Get the custom attributes for the trace source switch.
获取在应用程序配置文件中定义的自定义开关特性。
Get the custom attributes for the trace source switch.
获取在应用程序配置文件中定义的自定义开关特性。
应用推荐