Add section on logging, merge later sections
authorPaul Crowley <paul@lshift.net>
Mon, 04 Jan 2010 17:15:06 +0000
changeset 252 75acaf1b1216
parent 247 efb4044593ed
child 253 f0630151e057
Add section on logging, merge later sections
doc/manual.docbook
--- a/doc/manual.docbook	Sat Dec 19 19:18:03 2009 +0000
+++ b/doc/manual.docbook	Mon Jan 04 17:15:06 2010 +0000
@@ -420,6 +420,15 @@
 </section>
 </section>
 <section>
+<title>Logging</title>
+<para>
+Every successful access is logged in a file called
+<filename>~hg/repos/<replaceable>repository</replaceable>/.hg/servelog</filename>. The log records the time as a
+UTC ISO 8601 time, the operation ("push" or "pull"), the path to the key as
+used in the access rules, and the hex changeset ID.
+</para>
+</section>
+<section>
 <title>How mercurial-server works</title>
 <para>
 All of the repositories controlled by mercurial-server are owned by a
@@ -450,7 +459,6 @@
 automatically whenever a change is pushed to <filename
 class='directory'>hgadmin</filename>.
 </para>
-</section>
 <section>
 <title>Security</title>
 <para>
@@ -479,8 +487,9 @@
 new program and may harbour bugs. Backups are essential!
 </para>
 </section>
+</section>
 <section>
-<title>Legalese</title>
+<title>License and thanks</title>
 <para>
 This program is free software; you can redistribute it and/or modify it
 under the terms of the GNU General Public License as published by the Free
@@ -498,9 +507,6 @@
 with this program; if not, write to the Free Software Foundation, Inc., 51
 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 </para>
-</section>
-<section>
-<title>Thanks</title>
 <para>
 Thanks for reading this far. If you use mercurial-server, please tell me about
 it.