Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » QAnywhere » 服务器管理请求 » 使用服务器管理请求管理连接器

 

修改连接器

要修改连接器,请关闭连接器,使用 <SetProperty> 标记更改属性,然后打开连接器。

示例

在以下示例中,连接器的记录级别更改为 4。关闭 ID 为 ianywhere.connector.jboss 的连接器;连接器属性 logLevel 更改为 4,然后使用新日志级别重新打开连接器。

<?xml version="1.0" encoding="UTF-8"?>
<actions>
    <CloseConnector>
        <client>ianywhere.connector.jboss</client>
    </CloseConnector>
    <SetProperty>
        <prop>
       <client>ianywhere.connector.jboss</client>
  <name>ianywhere.connector.logLevel</name>
  <value>4</value>
   </prop>
    </SetProperty>
    <OpenConnector>
        <client>ianywhere.connector.jboss</client>
    </OpenConnector>
</actions>