[svnbook] r5772 committed - branches/1.8/zh/book/ ch06-server-configuration.xml

wuzhouhui at users.sourceforge.net wuzhouhui at users.sourceforge.net
Wed Sep 12 00:01:36 CDT 2018


Revision: 5772
          http://sourceforge.net/p/svnbook/source/5772
Author:   wuzhouhui
Date:     2018-09-12 05:01:32 +0000 (Wed, 12 Sep 2018)
Log Message:
-----------
1.8/zh: translation of chapter 6 in progress

Modified Paths:
--------------
    branches/1.8/zh/book/ch06-server-configuration.xml

Modified: branches/1.8/zh/book/ch06-server-configuration.xml
===================================================================
--- branches/1.8/zh/book/ch06-server-configuration.xml	2018-09-11 13:53:58 UTC (rev 5771)
+++ branches/1.8/zh/book/ch06-server-configuration.xml	2018-09-12 05:01:32 UTC (rev 5772)
@@ -5499,6 +5499,7 @@
           客户端来自哪个 IP, 特定客户端访问服务器的频率高低, 哪些用户认证成功,
           以及哪些请求成功或失败.</para>
 
+      <!--
         <para>Unfortunately, because HTTP is a stateless protocol,
           even the simplest Subversion client operation generates
           multiple network requests.  It's very difficult to look at
@@ -5509,7 +5510,17 @@
           requests.  To make things worse, many client operations send
           nearly identical series of requests, so it's even harder to
           tell them apart.</para>
+      -->
+        <para>不幸的是, 由于 HTTP 是一种无状态的协议, 即使是最简单的 Subversion
+          客户端操作也会产生多个网络请求. 要想从
+          <filename>access_log</filename> 推论出客户端在做什么操作是一件非常困
+          难的工作—大多数操作看起来就像是一系列神秘的
+          <literal>PROPPATCH</literal>, <literal>GET</literal>,
+          <literal>PUT</literal> 和 <literal>REPORT</literal> 请求. 更为严重
+          的是, 很多客户端操作发送的是几乎相同的请求序列, 这就使得分离这些
+          请求变得更加困难.</para>
 
+      <!--
         <para><command>mod_dav_svn</command>, however, can come to
           your aid.  By activating an <quote>operational
           logging</quote> feature, you can
@@ -5516,6 +5527,11 @@
           ask <command>mod_dav_svn</command> to create a separate log
           file describing what sort of high-level operations your
           clients are performing.</para>
+      -->
+        <para>还好, <command>mod_dav_svn</command> 可以帮到你. 为了激活特性
+          <quote>操作日志</quote> (operational logging), 管理员可以要求
+          <command>mod_dav_svn</command> 创建一个单独的日志文件, 文件从较
+          高层的角度描述了客户端所执行的操作.</para>
 
         <para>To do this, you need to make use of
           Apache's <literal>CustomLog</literal> directive (which is




More information about the svnbook-dev mailing list