You can use this procedure to start, stop, and control logging, and to set parameters in Shared memory so that all executing procedures can use the same logging control information.
我们可以使用这个过程来启动、停止和控制记录日志的功能,并设置共享内存中的参数,这样,所有正在执行的存储过程都可以使用相同的日志来控制信息。
For this purpose, we use Shared memory that is accessible to each instance of the logging procedure.
为了实现这个目的,我们使用了共享内存,每个日志过程实例都可以访问这些共享内存中的信息。
The DB2.UPDATE_SP_CONFIG stored procedure updates the Shared memory and writes all logging tokens to a configuration file.
UPDATE_SP_CONFIG存储过程对共享内存进行更新,并将所有的日志标记写入一个配置文件中。
This Shared memory location is stored in the handle passed from the OPEN_LOG procedure to the subsequent calls to LOGGER and LOGINFO.
共享内存的位置存储在句柄中,从OPEN_LOG到后续的LOGGER和LOGINFO调用都会传递这个句柄。
A procedure that performs repeated or Shared tasks USES different information for each call.
执行重复或共用工作的程序,每一次呼叫都使用不同的资讯。
A procedure that performs repeated or Shared tasks USES different information for each call.
执行重复或共用工作的程序,每一次呼叫都使用不同的资讯。
应用推荐